comparison c/Makefile @ 193:a728fce85881

simple test of adding and using default HoG pedestrian detector
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Mon, 12 Dec 2011 15:44:54 -0500
parents e99f6c44a655
children 1247e26a8b5e
comparison
equal deleted inserted replaced
192:38974d27dd2d 193:a728fce85881
18 # -DUSE_OPENCV 18 # -DUSE_OPENCV
19 UNAME = $(shell uname) 19 UNAME = $(shell uname)
20 20
21 ifneq ($(OPENCV), 0) 21 ifneq ($(OPENCV), 0)
22 CFLAGS += -DUSE_OPENCV 22 CFLAGS += -DUSE_OPENCV
23 LDFLAGS += -lopencv_highgui -lopencv_core -lopencv_video -lopencv_ml -lopencv_features2d -lopencv_imgproc 23 LDFLAGS += -lopencv_highgui -lopencv_core -lopencv_video -lopencv_ml -lopencv_features2d -lopencv_imgproc -lopencv_objdetect
24 endif 24 endif
25 25
26 ifeq ($(UNAME), Linux) 26 ifeq ($(UNAME), Linux)
27 OPENCV_HOME=/usr/local 27 OPENCV_HOME=/usr/local
28 INCLUDE+= -I$(OPENCV_HOME)/include -I$(OPENCV_HOME)/include/opencv 28 INCLUDE+= -I$(OPENCV_HOME)/include -I$(OPENCV_HOME)/include/opencv