X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=clean.mk;h=bd9f607d2f9d92ffc3b930432b85628c7c15177d;hb=bb226788dab3832b0ec0cda70874ce3fce4eebc6;hp=154ae72da2b933bd28e042c32a800d5da4962a60;hpb=b09af35f2f1cde7649d3ac4a6f5d2af6d97895a0;p=fw%2Fsdcc diff --git a/clean.mk b/clean.mk index 154ae72d..bd9f607d 100644 --- a/clean.mk +++ b/clean.mk @@ -3,15 +3,14 @@ clean: rm -f *core *[%~] *.[oa] rm -f .[a-z]*~ - rm -f bin/* - + cd bin && for name in *; do if [ -f $$name -a $$name != README ]; then rm $$name; fi; done # Deleting all files created by configuring or building the program # ----------------------------------------------------------------- distclean: clean - rm -f config.cache config.log config.status + rm -f config.cache config.log config.status Makefile Makefile.common rm -f sdccconf.h main.mk *.dep - + rm -f ports.all ports.build # Like clean but some files may still exist # -----------------------------------------