invisible
view Makefile @ 0:80df8030105b
init kinect
author | Eleni Maria Stea <eleni@mutantstargoat.com> |
---|---|
date | Sat, 05 Oct 2013 16:03:08 +0300 |
parents | |
children | b0b90ef993a0 |
line source
1 src = $(wildcard src/*.cc)
2 obj = $(src:.cc=.o)
3 dep = $(obj:.o=.d)
4 bin = invisible
6 dbg = -g -std=c++11
7 opt = -O0
9 CXX = g++
10 INCLUDE = -I/usr/include/
11 CXXFLAGS = -fPIC -pedantic -Wall $(dbg) `pkg-config --cflags opencv` $(INCLUDE)
12 LDFLAGS = -L/usr/lib $(libs) -lGL -lGLU -lglut -lGLEW -lfreenect -lpthread `pkg-config --libs opencv`
14 $(bin): $(obj)
15 $(CXX) -o $@ $(obj) $(LDFLAGS)
17 %.d: %.cc
18 @$(CPP) $(CXXFLAGS) $< -MM -MT $(@:.d=.o) >$@
20 .PHONY: clean
21 clean:
22 rm -f $(obj) $(bin) $(dep)