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