source: branches/items/GDE/MAFFT/mafft-7.055-with-extensions/core/univscript.tmpl

Last change on this file was 10371, checked in by aboeckma, 11 years ago

updated mafft version. Added extensions (no svn ignore, yet)

File size: 1.3 KB
Line 
1progs="_PROGS"
2for prog in $progs; do
3        printf  $prog" "
4done
5
6make clean
7make CC="$HOME/soft/gcc/usr/local/bin/gcc" CFLAGS="-O3 -m32 -mmacosx-version-min=10.5 -isysroot/Developer/SDKs/MacOSX10.5.sdk -DMACOSX_DEPLOYMENT_TARGET=10.5" LIBS="-lm  -lpthread -lgcc_eh" ENABLE_MULTITHREAD="-Denablemultithread"
8for prog in $progs; do
9        mv $prog $prog.intel32
10done
11
12make clean
13make CC="$HOME/soft/gcc/usr/local/bin/gcc" CFLAGS="-O3 -m64 -mmacosx-version-min=10.5 -isysroot/Developer/SDKs/MacOSX10.5.sdk -DMACOSX_DEPLOYMENT_TARGET=10.5" LIBS="-lm  -lpthread -lgcc_eh" ENABLE_MULTITHREAD="-Denablemultithread"
14for prog in $progs; do
15        mv $prog $prog.intel64
16done
17
18make clean
19make CC="gcc-4.0" CFLAGS="-arch ppc64 -m64 -O3 -mmacosx-version-min=10.5 -isysroot/Developer/SDKs/MacOSX10.5.sdk -DMACOSX_DEPLOYMENT_TARGET=10.5" ENABLE_MULTITHREAD=""
20for prog in $progs; do
21        mv $prog $prog.ppc64
22done
23
24make clean
25make CC="gcc-4.0" CFLAGS="-arch ppc -m32 -O3 -mmacosx-version-min=10.5 -isysroot/Developer/SDKs/MacOSX10.5.sdk -DMACOSX_DEPLOYMENT_TARGET=10.5" ENABLE_MULTITHREAD=""
26for prog in $progs; do
27        mv $prog $prog.ppc32
28done
29
30
31set $progs
32for prog in $progs; do
33#       lipo -create $prog.icc $prog.ppc32 $prog.ppc64 -output $prog
34        lipo -create $prog.intel64 $prog.intel32 $prog.ppc32 $prog.ppc64 -output $prog
35        cp $prog ../binaries
36done
Note: See TracBrowser for help on using the repository browser.