Revision 207,
974 bytes
checked in by dave, 10 years ago
(diff) |
link to new lib
|
Rev | Line | |
---|
[76] | 1 | TARGET := faceident |
---|
[1] | 2 | |
---|
[76] | 3 | SRCS := src/main.cpp\ |
---|
| 4 | src/FaceBank.cpp\ |
---|
| 5 | src/Face.cpp\ |
---|
| 6 | src/ImageUtils.cpp\ |
---|
[94] | 7 | src/SceneState.cpp\ |
---|
| 8 | src/tinyxml.cpp\ |
---|
| 9 | src/tinyxmlerror.cpp\ |
---|
| 10 | src/tinyxmlparser.cpp |
---|
[1] | 11 | |
---|
[91] | 12 | # for the minute, go out and up to link to the vision lib |
---|
[207] | 13 | CCFLAGS = -I../../../libs/magicsquares/src `pkg-config --cflags opencv` -ggdb -Wall -O3 -ffast-math -Wno-unused -DTIXML_USE_STL |
---|
| 14 | LDFLAGS = -L../../../libs/magicsquares/ |
---|
| 15 | LIBS = `pkg-config --libs opencv` -lYARP_dev -lYARP_sig -lYARP_OS -lACE -lmagicsquares |
---|
[1] | 16 | |
---|
[76] | 17 | CC = g++ |
---|
| 18 | OBJS := ${SRCS:.cpp=.o} |
---|
| 19 | DEPS := ${SRCS:.cpp=.dep} |
---|
| 20 | XDEPS := $(wildcard ${DEPS}) |
---|
[1] | 21 | |
---|
[76] | 22 | .PHONY: all clean distclean |
---|
| 23 | all:: ${TARGET} |
---|
[1] | 24 | |
---|
[76] | 25 | ifneq (${XDEPS},) |
---|
| 26 | include ${XDEPS} |
---|
| 27 | endif |
---|
[1] | 28 | |
---|
[76] | 29 | ${TARGET}: ${OBJS} |
---|
| 30 | ${CC} ${LDFLAGS} -o $@ $^ ${LIBS} |
---|
[32] | 31 | |
---|
[76] | 32 | ${OBJS}: %.o: %.cpp %.dep |
---|
| 33 | ${CC} ${CCFLAGS} -o $@ -c $< |
---|
[1] | 34 | |
---|
[76] | 35 | ${DEPS}: %.dep: %.cpp Makefile |
---|
| 36 | ${CC} ${CCFLAGS} -MM $< > $@ |
---|
[1] | 37 | |
---|
[76] | 38 | clean:: |
---|
| 39 | -rm -f *~ src/*.o ${TARGET} |
---|
| 40 | |
---|
[88] | 41 | cleandeps:: clean |
---|
| 42 | -rm -f src/*.dep |
---|
| 43 | |
---|
[76] | 44 | distclean:: clean |
---|
Note: See
TracBrowser
for help on using the repository browser.