aboutsummaryrefslogtreecommitdiff
path: root/netsend~
diff options
context:
space:
mode:
Diffstat (limited to 'netsend~')
-rwxr-xr-xnetsend~/makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/netsend~/makefile b/netsend~/makefile
index c587c1f..cee6861 100755
--- a/netsend~/makefile
+++ b/netsend~/makefile
@@ -56,17 +56,20 @@ pd_darwin: netreceive~.pd_darwin netsend~.pd_darwin
.SUFFIXES: .pd_darwin
-DARWINCFLAGS = -DPD -DUNIX -DMACOSX -O2 \
- -Wall -W \
- -Wno-unused -Wno-parentheses -Wno-switch
+DARWINFATFLAGS = -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
+
+DARWINCFLAGS = -DPD -DUNIX -DMACOSX -DHAVE_LRINT -DHAVE_LRINTF -fast -fPIC \
+ -Wall -W -Wno-unused -Wstrict-prototypes \
+ $(DARWINFATFLAGS)
DARWININCLUDE = -I../../../pd/src
+DARWINLDFLAGS = -bundle -undefined dynamic_lookup $(DARWINFATFLAGS)
+
.c.pd_darwin:
cc $(DARWINCFLAGS) $(DARWININCLUDE) -o $*.o -c $*.c
- cc -bundle -undefined suppress -o $*.pd_darwin $*.o
- rm -f $*.o ../$*.pd_darwin
- ln -s $*/$*.pd_darwin ..
+ cc $(DARWINLDFLAGS) -o $*.pd_darwin $*.o
+ rm -f $*.o
# ----------------------- LINUX i386 -----------------------