source: foam/trunk/simple-faceident/Makefile @ 27

Revision 27, 725 bytes checked in by dave, 11 years ago (diff)

simple yarp interface added

Line 
1CC = g++
2CV_INCLUDE_PATH = /usr/local/include/opencv
3CV_LINK_PATH = /usr/local/lib
4ACE_LINK_PATH = /usr/lib
5LIBS = -lcv -lcxcore -lhighgui -lYARP_dev -lYARP_sig -lYARP_OS -lACE
6CCFLAGS = -ggdb -Wall -O3 -ffast-math -Wno-unused -fPIC
7CCCOMMANDS = -I$(CV_INCLUDE_PATH) -L$(CV_LINK_PATH) -L$(ACE_LINK_PATH) $(CCFLAGS)
8
9all: simple-faceident
10
11simple-faceident: main.o FaceBank.o ImageUtils.o
12        $(CC) $(CCCOMMANDS) main.o FaceBank.o ImageUtils.o -rdynamic -o simple-faceident $(LIBS)
13
14main.o: src/main.cpp
15        $(CC) $(CCCOMMANDS) -c src/main.cpp
16
17FaceBank.o: src/FaceBank.cpp
18        $(CC) $(CCCOMMANDS) -c src/FaceBank.cpp
19
20ImageUtils.o: src/ImageUtils.cpp
21        $(CC) $(CCCOMMANDS) -c src/ImageUtils.cpp
22
23clean:
24        rm -rf *.o simple-faceident
25
26
Note: See TracBrowser for help on using the repository browser.