3 # Simple shell script for building SPLAT! and associated utilities.
4 # Written by John A. Magliacane, KD2BD May 2002 -- Last update: March 2006
11 echo -n "Compiling SPLAT!... "
12 g++ -Wall -O3 -s -lm -lbz2 -fomit-frame-pointer -march=$cpu itm.cpp splat.cpp -o splat
23 if [ $# == "0" ]; then
24 echo "Usage: build { splat, utils, all }"
27 if [ $1 == "splat" ]; then
31 if [ $1 == "utils" ]; then
35 if [ $1 == "all" ]; then
40 if [ $1 != "splat" ] && [ $1 != "utils" ] && [ $1 != "all" ]; then
41 echo "Usage: build { splat, utils, all }"