X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=clean.mk;h=6ccdb05b1b072e76d771c7e31c14140960d27fae;hb=47bb725c96ea3f78ac860012cf1feb35cf66bfb2;hp=29e9e940f1a3659fb4d695c3d9ec588795697812;hpb=e8b90e821cd252a9501f5c9b86eb7b1c2dd829b5;p=fw%2Fsdcc diff --git a/clean.mk b/clean.mk index 29e9e940..6ccdb05b 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 Makefile.common rm -f sdccconf.h main.mk *.dep - rm ports.all ports.build + rm -f ports.all ports.build # Like clean but some files may still exist # -----------------------------------------