#!/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()
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!"
}
}
if [ $# == "0" ]; then
- echo "Usage: build { citydecoder, usgs2sdf, fontdata, all }"
+ echo "Usage: build { citydecoder, srtm2sdf, usgs2sdf, fontdata, all }"
else
if [ $1 == "citydecoder" ]; then
echo "Usage: build { citydecoder, srtm2sdf, usgs2sdf, fontdata, all }"
fi
fi
-