Old feature extraction method

This commit is contained in:
Joseph Redmon
2014-04-17 15:05:41 -07:00
parent b4b729a15e
commit ec16ee612f
3 changed files with 18 additions and 13 deletions

View File

@@ -1,12 +1,12 @@
CC=gcc
COMMON=-Wall `pkg-config --cflags opencv`
COMMON=-Wall `pkg-config --cflags opencv` -I/usr/local/cuda/include/
UNAME = $(shell uname)
OPTS=-O3
ifeq ($(UNAME), Darwin)
COMMON+= -isystem /usr/local/Cellar/opencv/2.4.6.1/include/opencv -isystem /usr/local/Cellar/opencv/2.4.6.1/include
LDFLAGS= -framework OpenCL
else
OPTS+= -march=native -flto
OPTS+= -march=native
LDFLAGS= -lOpenCL
endif
CFLAGS= $(COMMON) $(OPTS)