Update of /cvsroot/pure-data/externals/build/linux In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26907
Modified Files: makefile Log Message: added some suggestions for optimization flags
Index: makefile =================================================================== RCS file: /cvsroot/pure-data/externals/build/linux/makefile,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** makefile 22 May 2004 17:21:22 -0000 1.16 --- makefile 28 May 2004 00:40:51 -0000 1.17 *************** *** 13,24 **** .SUFFIXES: .pd_linux
! LINUXCFLAGS = -fPIC -DPD -DUNIX -O2 -funroll-loops -fomit-frame-pointer \ -Wall -W -Wshadow -Wstrict-prototypes \ -Wno-unused -Wno-parentheses -Wno-switch
! LINUXINCLUDE = -I. -I.. -I../include
%.pd_linux: ../src/%.c ! $(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -o "$*.o" -c "../src/$*.c" gcc -Wl,-export_dynamic -shared -o "$*.pd_linux" "$*.o" -lc -lm \ `test -f $*.libs && cat $*.libs` --- 13,35 ---- .SUFFIXES: .pd_linux
! # Pentium III or better ! #CPU_FLAGS = -march=pentium3 ! # PowerPC G3 ! #CPU_FLAGS = -mpowerpc-gpopt ! # PowerPC G4 ! #CPU_FLAGS = -mpowerpc-gpopt -mcpu=7450 -maltivec ! # PowerPC G5 ! #CPU_FLAGS = -mpowerpc64 -maltivec -falign-functions=32 -falign-labels=32 -falign-loops=32 -falign-jumps=32 ! ! OPTIM_FLAGS = -O3 -funroll-loops -fomit-frame-pointer $(CPU_FLAGS) ! ! CFLAGS = -fPIC -DPD -DUNIX $(OPTIM_FLAGS) \ -Wall -W -Wshadow -Wstrict-prototypes \ -Wno-unused -Wno-parentheses -Wno-switch
! INCLUDES = -I. -I.. -I../include
%.pd_linux: ../src/%.c ! $(CC) $(CFLAGS) $(INCLUDES) -o "$*.o" -c "../src/$*.c" gcc -Wl,-export_dynamic -shared -o "$*.pd_linux" "$*.o" -lc -lm \ `test -f $*.libs && cat $*.libs`