diff options
author | lluís gómez i bigordà <lluisbigorda@users.sourceforge.net> | 2009-09-24 22:08:54 +0000 |
---|---|---|
committer | lluís gómez i bigordà <lluisbigorda@users.sourceforge.net> | 2009-09-24 22:08:54 +0000 |
commit | 05b77eed721931281759bf222e319b05d81458c9 (patch) | |
tree | 59cdd6800060871317b88f4d2df3258e8e862e9e /Makefile | |
parent | f3117bf10c367592e30a7b5559e30d7b75b494f3 (diff) |
The colorspace in Gem-MACOSX is GRAB instead of RGBA in Linux
so added -DDARWIN -DLINUX definitions in the Makefile
and custom code for each system on pix_opencv_contours_convexhull and pix_opencv_colorfilt
svn path=/trunk/externals/pix_opencv/; revision=12446
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -13,12 +13,14 @@ CPPFLAGS = -fPIC -DPD -O2 -funroll-loops -fomit-frame-pointer -ffast-math \ UNAME := $(shell uname -s) ifeq ($(UNAME),Linux) + CPPFLAGS += -DLINUX INCLUDES += `pkg-config --cflags opencv` LDFLAGS = -export_dynamic -shared LIBS = `pkg-config --libs opencv` EXTENSION = pd_linux endif ifeq ($(UNAME),Darwin) + CPPFLAGS += -DDARWIN INCLUDES += -I/System/Library/Frameworks/OpenCV.framework/Headers/ LDFLAGS = -bundle -undefined dynamic_lookup LIBS = -lm -framework OpenCV |