invisible
view Makefile @ 13:65fd6d7c42b1
foo: show/hide rgb video and depth frames
author | Eleni Maria Stea <eleni@mutantstargoat.com> |
---|---|
date | Tue, 05 Nov 2013 00:24:25 +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)