diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2005-04-19 00:17:37 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2005-04-19 00:17:37 +0000 |
commit | 04a2f994c099d12f32ab61e7cee41b5c6089cdee (patch) | |
tree | b09ad080a3ad47fc44a472c1a536e8ca2f4db5b8 /Makefile | |
parent | 698a567c206b24a82a9f168f48139b76ddaae44e (diff) |
updated to build on a plain MacOSX setup
svn path=/trunk/externals/unauthorized/; revision=2783
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -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 # <hans@eds.org> -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 |