X-Git-Url: https://git.gag.com/?p=debian%2Fsplat;a=blobdiff_plain;f=build;fp=build;h=8559558df66b3d0eff3a25df680f7b54b2582354;hp=7866f7ffa33a024f258600d3e503cde5beff2656;hb=63fe09e1131ae8f451b4a5af9dbae05cb07d529e;hpb=8c97af274a0a0c0f6c949aab5b35731f7b187873 diff --git a/build b/build index 7866f7f..8559558 100755 --- a/build +++ b/build @@ -1,13 +1,15 @@ #!/bin/bash # # Simple shell script for building SPLAT! and associated utilities. -# Written by John A. Magliacane, KD2BD May 2002 -- Last update: Jan 2004 +# Written by John A. Magliacane, KD2BD May 2002 -- Last update: March 2006 # +cpu=`uname -m` + build_splat() { echo -n "Compiling SPLAT!... " - g++ -Wall -O3 -s -lm -lbz2 -fomit-frame-pointer itm.cpp splat.cpp -o splat + g++ -Wall -O3 -s -lm -lbz2 -fomit-frame-pointer -march=$cpu itm.cpp splat.cpp -o splat echo "Done!" }