Imported Upstream version 1.2.1
[debian/splat] / utils / build
index 4bc5b4ac302abd0525a02f0f1a50bd8893690cb7..620ce3c5cb4f84514037bcdd01592a2f475c3342 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/bash
 #
 # Simple shell script for building SPLAT! and associated utilities.
-# Written by John A. Magliacane, KD2BD May 2002.  Updated February 2006.
+# Written by John A. Magliacane, KD2BD May 2002.  Updated October 2007.
 #
 
 build_citydecoder()
@@ -21,7 +21,7 @@ build_usgs2sdf()
 build_srtm2sdf()
 {
        echo -n "Compiling srtm2sdf... "
-       cc -Wall -O3 -s -lbz2 -fomit-frame-pointer srtm2sdf.c -o srtm2sdf
+       cc -Wall -O3 -s -fomit-frame-pointer srtm2sdf.c -lbz2 -o srtm2sdf
        echo "Done!"
 }
 
@@ -33,7 +33,7 @@ build_fontdata()
 }
 
 if [ $# == "0" ]; then
-       echo "Usage: build  { citydecoder, usgs2sdf, fontdata, all }"
+       echo "Usage: build  { citydecoder, srtm2sdf, usgs2sdf, fontdata, all }"
 else
 
        if [ $1 == "citydecoder" ]; then
@@ -66,4 +66,3 @@ else
                echo "Usage: build { citydecoder, srtm2sdf, usgs2sdf, fontdata, all }"
        fi
 fi
-