From 47b27c37320b295d4b361e526af321736f832479 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 12 Apr 2005 15:59:04 +0000 Subject: - added headers from 0.38-4 to externals/build/include and added README so people don't repeat the same mistake of removing/etc. - added Pd src to include search before externals/build/include so if the Pd src is in the standard dev layout, externals will be compiled with those headers instead of externals/build/include svn path=/trunk/; revision=2744 --- externals/build/darwin/makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'externals/build/darwin') diff --git a/externals/build/darwin/makefile b/externals/build/darwin/makefile index ae73f9dc..089078ce 100644 --- a/externals/build/darwin/makefile +++ b/externals/build/darwin/makefile @@ -24,13 +24,14 @@ OPTIM_FLAGS = -mpowerpc-gpopt CFLAGS = -DPD -DUNIX -DMACOSX -Dunix $(OPTIM_FLAGS) \ -Wall -W -Wno-unused -Wno-parentheses -Wno-switch -Wno-shadow -INCLUDES = -I. -I.. -I../include -LDFLAGS = -bundle -bundle_loader $(PDEXECUTABLE) +INCLUDES = -I. -I.. -I../../../pd/src -I../include -I/sw/include +LDFLAGS = -bundle -bundle_loader $(PDEXECUTABLE) -L/sw/lib %.pd_darwin: ../src/%.c $(CC) $(CFLAGS) $(INCLUDES) -o "$*.o" -c "../src/$*.c" $(CC) $(LDFLAGS) -o "$*.pd_darwin" "$*.o" -lc -lm \ -# `test -f $*.libs && cat $*.libs` + `test -f $*.libs && cat $*.libs` \ + `test -f ../src/$*.libs && cat ../src/$*.libs` chmod a-x "$*.pd_darwin" rm -f "$*.o" @@ -60,7 +61,7 @@ link.stamp: cp ../src/*.c . # rm vst.c # MacOSX exceptions that don't work just yet - -rm ogg* ossmixer.c plugin~.c cdplayer.c promiscous~.c serialctl.c + -rm ossmixer.c plugin~.c cdplayer.c promiscous~.c serialctl.c -rm serial_bird.c serial_ms.c proc.c streamin~.c streamout~.c rhythm_* touch link.stamp make -- cgit v1.2.1