Update of /cvsroot/pure-data/externals/build/darwin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11263
Modified Files: makefile Log Message: added CPU optimization suggestions
Index: makefile =================================================================== RCS file: /cvsroot/pure-data/externals/build/darwin/makefile,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** makefile 8 Apr 2004 04:00:02 -0000 1.12 --- makefile 27 May 2004 23:13:49 -0000 1.13 *************** *** 11,25 **** PDEXECUTABLE = ../../../pd/bin/pd
! MACOSXCFLAGS = -DPD -Os -DUNIX -DMACOSX -Dunix \ ! -Wall -W \ ! -Wno-unused -Wno-parentheses -Wno-switch -Wno-shadow
! MACOSXINCLUDE = -I. -I.. -I../include
! MACOSXLINKFLAGS = -bundle -bundle_loader $(PDEXECUTABLE)
%.pd_darwin: ../src/%.c ! $(CC) $(MACOSXCFLAGS) $(MACOSXINCLUDE) -o "$*.o" -c "../src/$*.c" ! $(CC) $(MACOSXLINKFLAGS) -o "$*.pd_darwin" "$*.o" -lc -lm \ # `test -f $*.libs && cat $*.libs` chmod a-x "$*.pd_darwin" --- 11,33 ---- PDEXECUTABLE = ../../../pd/bin/pd
! # Pentium III or better ! #CPU_FLAGS = -march=pentium3 ! # PowerPC G3 ! #CPU_FLAGS = -mpowerpc-gpopt ! # PowerPC G4 (gcc-3.3) ! #CPU_FLAGS = -fast -mcpu=G4 ! # PowerPC G5 (gcc-3.3) ! #CPU_FLAGS = -fast
! OPTIM_FLAGS = -O3 -funroll-loops -fomit-frame-pointer $(CPU_FLAGS)
! 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)
%.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` chmod a-x "$*.pd_darwin"