diff options
Diffstat (limited to 'OSC')
-rw-r--r-- | OSC/dumpOSC.c | 2 | ||||
-rw-r--r-- | OSC/makefile | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/OSC/dumpOSC.c b/OSC/dumpOSC.c index 95f1149..979a546 100644 --- a/OSC/dumpOSC.c +++ b/OSC/dumpOSC.c @@ -74,7 +74,7 @@ Technologies, University of California, Berkeley. void sys_addpollfn(int fd, t_fdpollfn fn, void *ptr);
-#if defined(__sgi) || defined(__linux) || defined(WIN32)
+#if defined(__sgi) || defined(__linux) || defined(WIN32) || defined(MACOSX)
#ifdef WIN32
#include "OSC-common.h"
diff --git a/OSC/makefile b/OSC/makefile index e9954e6..04f9e30 100644 --- a/OSC/makefile +++ b/OSC/makefile @@ -19,13 +19,13 @@ DARWINCFLAGS = -DPD -DUNIX -DMACOSX -O2 \ -Wno-unused -Wno-parentheses -Wno-switch # where is your m_pd.h ??? -DARWININCLUDE = -I../../build/include -I../../obj +DARWININCLUDE = -I../../../pd/src DARWINEXTERNALS = htmsocket.o OSC-pattern-match.o sendOSC.o dumpOSC.o routeOSC.o .c.pd_darwin: cc $(DARWINCFLAGS) $(DARWININCLUDE) -c *.c - cc -bundle -undefined suppress -flat_namespace -o $*.pd_darwin $*.o $(DARWINEXTERNALS) $(LIBS) $(LIBOSC) + cc -bundle -bundle_loader /usr/local/pd/bin/pd -flat_namespace -o $*.pd_darwin $*.o $(DARWINEXTERNALS) $(LIBS) $(LIBOSC) rm -f $*.o ../$*.pd_darwin ln -s $*/$*.pd_darwin .. |