From 6de5de96d8e90ba70a67c61945f59bc33c0c2ce2 Mon Sep 17 00:00:00 2001 From: "N.N." Date: Thu, 10 Sep 2009 22:42:43 +0000 Subject: set SURF as the last svn path=/trunk/externals/pdp_opencv/; revision=12299 --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 648b4a6..eb77e47 100644 --- a/Makefile +++ b/Makefile @@ -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: -- cgit v1.2.1