Mercurial > hg > nsaunier > traffic-intelligence
comparison c/Makefile @ 170:e99f6c44a655
added lopencv_imgproc to linker
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Mon, 17 Oct 2011 00:07:18 -0400 |
| parents | 61fd5aff418c |
| children | a728fce85881 |
comparison
equal
deleted
inserted
replaced
| 169:5f705809d37a | 170:e99f6c44a655 |
|---|---|
| 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 | 23 LDFLAGS += -lopencv_highgui -lopencv_core -lopencv_video -lopencv_ml -lopencv_features2d -lopencv_imgproc |
| 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 |
