invisible
view Makefile @ 8:bd1b0385a10b
fixed depth frame rendering
author | Eleni Maria Stea <eleni@mutantstargoat.com> |
---|---|
date | Sun, 03 Nov 2013 22:07:00 +0200 |
parents | b0b90ef993a0 |
children |
line source
1 src = $(wildcard src/*.cc)
2 obj = $(src:.cc=.o)
3 dep = $(obj:.o=.d)
4 bin = invisible
6 dbg = -g
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 -include $(dep)
19 %.d: %.cc
20 @$(CPP) $(CXXFLAGS) $< -MM -MT $(@:.d=.o) >$@
22 .PHONY: clean
23 clean:
24 rm -f $(obj) $(bin) $(dep)