aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index ec751f9..bfc81a4 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -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