From 04a2f994c099d12f32ab61e7cee41b5c6089cdee Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 19 Apr 2005 00:17:37 +0000 Subject: updated to build on a plain MacOSX setup svn path=/trunk/externals/unauthorized/; revision=2783 --- Makefile | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ad37932..47ae867 100644 --- a/Makefile +++ b/Makefile @@ -87,14 +87,18 @@ pd_darwin: $(TARGETS) # I added these defines since Darwin doesn't have this signals. I do # not know whether the objects will work, but they will compile. -# -D__APPLE__ -DMSG_NOSIGNAL=0 -DSOL_TCP=0 +# -DMSG_NOSIGNAL=0 -DSOL_TCP=0 # I got this from here: http://www.holwegner.com/forum/viewtopic.php?t=4 # -DARWINCFLAGS = -DPD -DUNIX -DMACOSX -DICECAST \ - -D__APPLE__ -DMSG_NOSIGNAL=0 -DSOL_TCP=0 \ - -O2 -Wall -W -Wshadow -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch - -DARWINLINKFLAGS = -bundle -undefined suppress -flat_namespace +DARWINCFLAGS = -DPD -DUNIX -DICECAST -DMSG_NOSIGNAL=0 -DSOL_TCP=0 \ + -O2 -Wall -W -Wshadow -Wstrict-prototypes -Wno-unused -Wno-parentheses \ + -Wno-switch + +## if you point the linker to the pd binary, then it can check the symbols, +## and therefore allow for a two-level namespace, and that makes Darwin happy +## but this doesn't work for some of the files yet. +#DARWINLINKFLAGS = -bundle -bundle_loader ../../pd/bin/pd +DARWINLINKFLAGS = -bundle -undefined suppress -flat_namespace DARWININCLUDE = -I../../src -I../../pd/src -I/sw/include -- cgit v1.2.1