3 # Simple shell script for building SPLAT! and associated utilities.
4 # Written by John A. Magliacane, KD2BD May 2002 -- Last update: October 2007
9 if [ $cpu == "x86_64" ]; then
15 echo -n "Compiling SPLAT!... "
16 ## g++ -Wall -O3 -s -lm -lbz2 -fomit-frame-pointer -march=$cpu itm.cpp splat.cpp -o splat
17 g++ -Wall -O3 -fomit-frame-pointer -ffast-math -march=$cpu itm.cpp splat.cpp -lm -lbz2 -o splat
28 if [ $# == "0" ]; then
29 echo "Usage: build { splat, utils, all }"
32 if [ $1 == "splat" ]; then
36 if [ $1 == "utils" ]; then
40 if [ $1 == "all" ]; then
45 if [ $1 != "splat" ] && [ $1 != "utils" ] && [ $1 != "all" ]; then
46 echo "Usage: build { splat, utils, all }"