| gccparams = -DLINUX -pipe -fno-strict-aliasing -fPIC -fno-omit-frame-pointer -W -Wall -Wno-unused -Wno-parentheses -static-libgcc | |
| sourcefiles = File.cpp Formatter.cpp main.cpp Path.cpp String.cpp System.cpp | |
| mac: mac-x86 mac-ppc | |
| mac-ppc: | |
| rm -f extractor | |
| g++ $(gccparams) -arch ppc -D_MAC -o extractor $(sourcefiles) | |
| chmod +x extractor | |
| mv -f extractor ../../org.eclipse.epp.sfx.tools/templates/mac.ppc/extractor | |
| mac-x86: | |
| rm -f extractor | |
| g++ $(gccparams) -arch i386 -D_MAC -o extractor $(sourcefiles) | |
| chmod +x extractor | |
| mv -f extractor ../../org.eclipse.epp.sfx.tools/templates/mac.x86/extractor | |
| linux: | |
| rm -f extractor | |
| g++ $(gccparams) -o3 -o extractor $(sourcefiles) | |
| chmod +x extractor | |
| mv -f extractor ../../org.eclipse.epp.sfx.tools/templates/linux.x86/extractor |