aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorlluís gómez i bigordà <lluisbigorda@users.sourceforge.net>2009-08-15 15:32:40 +0000
committerlluís gómez i bigordà <lluisbigorda@users.sourceforge.net>2009-08-15 15:32:40 +0000
commit94f406317e1d351f0320c836c0713f249bb84872 (patch)
treeaac3745fb821cddb4827d1920bab231257294eea /Makefile
parent3bc0b1c6b631724cd53ada526bd35ffff8fbaf17 (diff)
added pd_darwin rules using the openCV macos Framework
svn path=/trunk/externals/pix_opencv/; revision=11924
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 813b53b..ef1a5a0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-PD_DIR = ../pd
-GEM_DIR = ../gem
+PD_DIR = ../../pd
+GEM_DIR = ../../Gem
GEM_OPENCV_VERSION = 0.1
@@ -19,10 +19,9 @@ ifeq ($(UNAME),Linux)
EXTENSION = pd_linux
endif
ifeq ($(UNAME),Darwin)
- OPENCV_DIR = opencv-1.0.0
- INCLUDES += -I$(OPENCV_DIR)/cv/include -I$(OPENCV_DIR)/cxcore/include
+ INCLUDES += -I/System/Library/Frameworks/OpenCV.framework/Headers/
LDFLAGS = -bundle -undefined dynamic_lookup
- LIBS = -lm $(OPENCV_DIR)/build/cv/src/.libs/lib_cv.a
+ LIBS = -lm -framework OpenCV
EXTENSION = pd_darwin
endif
ifeq (MINGW,$(findstring MINGW,$(UNAME)))