projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updates
[silc.git]
/
prepare-clean
diff --git
a/prepare-clean
b/prepare-clean
index 2e4760a3c993fb48a0d9172b870818c01b7e1fee..ee9567c6b42736048f77017efbdfcd74f5050757 100755
(executable)
--- a/
prepare-clean
+++ b/
prepare-clean
@@
-23,10
+23,22
@@
# and compilation by calling ./prepare.
#
# 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."
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*
rm -f ltmain.sh
rm -f ltconfig
rm -f ltcf*