diff options
author | N.N. <sevyves@users.sourceforge.net> | 2009-09-10 22:42:43 +0000 |
---|---|---|
committer | N.N. <sevyves@users.sourceforge.net> | 2009-09-10 22:42:43 +0000 |
commit | 6de5de96d8e90ba70a67c61945f59bc33c0c2ce2 (patch) | |
tree | 15bb8400093431ec8a306c6cf5aa1d932b880809 /Makefile | |
parent | 3fa112692324cb2f6cc2896044f51310ddc64de3 (diff) |
set SURF as the last
svn path=/trunk/externals/pdp_opencv/; revision=12299
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -5,12 +5,11 @@ GEM_OPENCV_VERSION = 0.1 # build flags -INCLUDES = -I$(PD_DIR)/src -I. -I$(PDP_DIR)/include -I$(PD_DIR)/src +INCLUDES = -I$(PD_DIR)/src -I. -I$(PDP_DIR)/include -I$(PD_DIR)/src CPPFLAGS = -fPIC -DPD -O2 -funroll-loops -fomit-frame-pointer -ffast-math \ -Wall -W -Wno-unused -Wno-parentheses -Wno-switch \ -DGEM_OPENCV_VERSION=\"$(GEM_OPENCV_VERSION)\" -g - UNAME := $(shell uname -s) ifeq ($(UNAME),Linux) INCLUDES += `pkg-config --cflags opencv` @@ -37,7 +36,7 @@ all: $(SOURCES:.c=.$(EXTENSION)) $(SOURCES:.cc=.$(EXTENSION)) .cc.o: g++ $(CPPFLAGS) $(INCLUDES) -o $*.o -c $*.cc -c.o: +.c.o: gcc $(CPPFLAGS) $(INCLUDES) -o $*.o -c $*.c install: |