1 # 2 # library build script for Unix based machines with GCC 3 # 4 rm -f libmapm.a mapm*.o 5 # 6 gcc -c -Wall -O2 mapm*.c 7 # 8 rm mapmutil.o mapmfmul.o 9 # 10 # use better optimizations for these two .... 11 # 12 gcc -c -Wall -O3 mapmutil.c 13 gcc -c -Wall -O3 mapmfmul.c 14 # 15 ar rc libmapm.a mapm*.o 16 # 17 rm mapm*.o 18 #