comparison c/Makefile @ 84:731df2fa0010

correction to compile with latest opencv
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Tue, 29 Mar 2011 01:47:00 -0400
parents a52653dca25d
children 626560624d55
comparison
equal deleted inserted replaced
83:41da2cdcd91c 84:731df2fa0010
14 # -DUSE_OPENCV 14 # -DUSE_OPENCV
15 UNAME = $(shell uname) 15 UNAME = $(shell uname)
16 16
17 ifneq ($(OPENCV), 0) 17 ifneq ($(OPENCV), 0)
18 CFLAGS += -DUSE_OPENCV 18 CFLAGS += -DUSE_OPENCV
19 LDFLAGS += -lopencv_highgui -lopencv_core -lopencv_ml 19 LDFLAGS += -lopencv_highgui -lopencv_core -lopencv_video -lopencv_ml
20 endif 20 endif
21 21
22 ifeq ($(UNAME), Linux) 22 ifeq ($(UNAME), Linux)
23 OPENCV_HOME=/usr/local 23 OPENCV_HOME=/usr/local
24 INCLUDE+= -I$(OPENCV_HOME)/include/ 24 INCLUDE+= -I$(OPENCV_HOME)/include/