From: Pekka Riikonen Date: Sat, 3 Nov 2001 21:45:03 +0000 (+0000) Subject: updates X-Git-Tag: silcertest~46 X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=commitdiff_plain;h=df43245509c47a148a2d9a9293edb472c89ba1d8 updates --- diff --git a/prepare-clean b/prepare-clean index 2e4760a3..ee9567c6 100755 --- a/prepare-clean +++ b/prepare-clean @@ -23,10 +23,22 @@ # and compilation by calling ./prepare. # +if [ -z "$MAKE" ]; then + MAKE=`which gmake` + if [ -z "$MAKE" ]; then + MAKE=`which make` + if [ -z "$MAKE" ]; then + echo "Error, no [g]make in your path." + exit 0 + fi + fi +fi +echo "Using $MAKE as a make program..." + echo "Cleaning entire SILC source tree..." echo "All errors and warnings may be safely ignored." -gmake clean -k -gmake distclean -k +$MAKE clean -k +$MAKE distclean -k rm -f ltmain.sh rm -f ltconfig rm -f ltcf*