Changeset 31 for foam/trunk


Ignore:
Timestamp:
03/23/2009 03:34:23 PM (12 years ago)
Author:
dave
Message:

makefile improvements from Marek@WRUT

File:
1 edited

Legend:

Unmodified
Added
Removed
  • foam/trunk/simple-faceident/Makefile

    r27 r31  
    11CC = g++ 
    2 CV_INCLUDE_PATH = /usr/local/include/opencv 
    3 CV_LINK_PATH = /usr/local/lib 
    4 ACE_LINK_PATH = /usr/lib 
    5 LIBS = -lcv -lcxcore -lhighgui -lYARP_dev -lYARP_sig -lYARP_OS -lACE 
    6 CCFLAGS = -ggdb -Wall -O3 -ffast-math -Wno-unused -fPIC 
    7 CCCOMMANDS = -I$(CV_INCLUDE_PATH) -L$(CV_LINK_PATH) -L$(ACE_LINK_PATH) $(CCFLAGS)  
     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 
    85 
    96all: simple-faceident 
    107 
    118simple-faceident: main.o FaceBank.o ImageUtils.o 
    12         $(CC) $(CCCOMMANDS) main.o FaceBank.o ImageUtils.o -rdynamic -o simple-faceident $(LIBS) 
     9        $(CC) main.o FaceBank.o ImageUtils.o -rdynamic -o simple-faceident $(LDFLAGS) 
    1310 
    1411main.o: src/main.cpp 
    15         $(CC) $(CCCOMMANDS) -c src/main.cpp 
     12        $(CC) $(CXXFLAGS) -c src/main.cpp 
    1613 
    1714FaceBank.o: src/FaceBank.cpp 
    18         $(CC) $(CCCOMMANDS) -c src/FaceBank.cpp 
     15        $(CC) $(CXXFLAGS) -c src/FaceBank.cpp 
    1916 
    2017ImageUtils.o: src/ImageUtils.cpp 
    21         $(CC) $(CCCOMMANDS) -c src/ImageUtils.cpp 
     18        $(CC) $(CXXFLAGS) -c src/ImageUtils.cpp 
    2219 
    2320clean: 
Note: See TracChangeset for help on using the changeset viewer.