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

Revision 31, 637 bytes checked in by dave, 12 years ago (diff)

makefile improvements from Marek@WRUT

Line 
1CC = g++
2CFLAGS = `pkg-config --cflags opencv` -ggdb -Wall -O3 -ffast-math -Wno-unused
3CXXFLAGS = `pkg-config --cflags opencv` -ggdb -Wall -O3 -ffast-math -Wno-unused
4LDFLAGS =  `pkg-config --libs opencv` -lYARP_dev -lYARP_sig -lYARP_OS -lACE
5
6all: simple-faceident
7
8simple-faceident: main.o FaceBank.o ImageUtils.o
9        $(CC) main.o FaceBank.o ImageUtils.o -rdynamic -o simple-faceident $(LDFLAGS)
10
11main.o: src/main.cpp
12        $(CC) $(CXXFLAGS) -c src/main.cpp
13
14FaceBank.o: src/FaceBank.cpp
15        $(CC) $(CXXFLAGS) -c src/FaceBank.cpp
16
17ImageUtils.o: src/ImageUtils.cpp
18        $(CC) $(CXXFLAGS) -c src/ImageUtils.cpp
19
20clean:
21        rm -rf *.o simple-faceident
22
23
Note: See TracBrowser for help on using the repository browser.