X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=clean.sh;h=92d814476270cdbb69cb324440d2fde8dec89dff;hb=93b89755004549ed5f20d1938fd6e54ee20650b2;hp=c2bf8adc83ee026c87bd4c823e0d1675517fb649;hpb=a0a413499415738d23cc40baa44e9c404af54a94;p=sbcl.git diff --git a/clean.sh b/clean.sh index c2bf8ad..92d8144 100755 --- a/clean.sh +++ b/clean.sh @@ -22,6 +22,10 @@ rm -rf obj/* output/* doc/user-manual \ # distribution, we automatically clean up after it here in the # standard clean.sh file.) +# Ensure we know GNUMAKE +. ./find-gnumake.sh +find_gnumake + # Ask some other directories to clean themselves up. original_pwd=`pwd` for d in tools-for-build; do @@ -31,7 +35,7 @@ for d in tools-for-build; do # this script is just the operations done by these make's, which # is misleading when this script does lotso other operations too. # -- WHN - make -s clean + $GNUMAKE -I ../src/runtime -s clean cd $original_pwd > /dev/null done @@ -50,7 +54,7 @@ done # probably machine-generated translation of DocBook (*.sgml) files # core # probably a Unix core dump -- not part of the sources anyway -# *.o, *.lib, *.nm, a.out +# *.o, *.so, *.lib, *.nm, a.out # results of C-style linking, assembling, etc. # *.core, *.map # looks like SBCL SAVE-LISP-AND-DIE or GENESIS output, and @@ -94,6 +98,7 @@ find . \( \ -name '*.tmp' -o \ -name '*.lisp-temp' -o \ -name '*.o' -o \ + -name '*.so' -o \ -name 'a.out' -o \ -name 'sbcl' -o \ -name 'sbcl.h' -o \