comparison c/Makefile @ 121:c4d4b5b93add

copied the video_homography opencv sample
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Mon, 15 Aug 2011 12:53:10 -0400
parents 45a426552aaa
children d19d6e63dd77
comparison
equal deleted inserted replaced
120:46b166523bf8 121:c4d4b5b93add
15 # -DUSE_OPENCV 15 # -DUSE_OPENCV
16 UNAME = $(shell uname) 16 UNAME = $(shell uname)
17 17
18 ifneq ($(OPENCV), 0) 18 ifneq ($(OPENCV), 0)
19 CFLAGS += -DUSE_OPENCV 19 CFLAGS += -DUSE_OPENCV
20 LDFLAGS += -lopencv_highgui -lopencv_core -lopencv_video -lopencv_ml 20 LDFLAGS += -lopencv_highgui -lopencv_core -lopencv_video -lopencv_ml -lopencv_features2d
21 endif 21 endif
22 22
23 ifeq ($(UNAME), Linux) 23 ifeq ($(UNAME), Linux)
24 OPENCV_HOME=/usr/local 24 OPENCV_HOME=/usr/local
25 INCLUDE+= -I$(OPENCV_HOME)/include -I$(OPENCV_HOME)/include/opencv 25 INCLUDE+= -I$(OPENCV_HOME)/include -I$(OPENCV_HOME)/include/opencv