Changeset 31 for QMUL


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

makefile improvements from Marek@WRUT

Location:
QMUL/trunk/DistanceCheck
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • QMUL/trunk/DistanceCheck/Makefile

    r26 r31  
    11CC = g++ 
    2 CV_INCLUDE_PATH = /usr/local/include/opencv 
    3 CV_LINK_PATH = /usr/local/lib 
    4 LIBS = -lcv -lcxcore -lhighgui 
    5 CCFLAGS = -I$(CV_INCLUDE_PATH) -L$(CV_LINK_PATH) -ggdb -Wall -O3 -ffast-math -Wno-unused 
     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`  
    65 
    76all: DistanceCheck 
    87 
    98DistanceCheck: distanceCheck.o Face.o stdafx.o 
    10         $(CC) $(CCFLAGS) $(LIBS) stdafx.o distanceCheck.o Face.o -o DistanceCheck 
     9        $(CC) $(LDFLAGS) stdafx.o distanceCheck.o Face.o -o DistanceCheck 
    1110 
    1211distanceCheck.o: src/distanceCheck.cpp 
    13         $(CC) $(CCFLAGS) -c src/distanceCheck.cpp 
     12        $(CC) $(CXXFLAGS) -c src/distanceCheck.cpp 
    1413 
    1514Face.o: src/Face.cpp 
    16         $(CC) $(CCFLAGS) -c src/Face.cpp 
     15        $(CC) $(CXXFLAGS) -c src/Face.cpp 
    1716 
    1817stdafx.o: src/stdafx.cpp 
    19         $(CC) $(CCFLAGS) -c src/stdafx.cpp 
     18        $(CC) $(CXXFLAGS) -c src/stdafx.cpp 
    2019 
    2120clean: 
  • QMUL/trunk/DistanceCheck/src/stdafx.h

    r26 r31  
    1313#include <tchar.h> 
    1414#endif                                           
    15  
Note: See TracChangeset for help on using the changeset viewer.