X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=clean.mk;h=bd9f607d2f9d92ffc3b930432b85628c7c15177d;hb=d08e6df2202ed3f19b681221b502dedb3c6c8a28;hp=a7ec1016bd4f681e1c93090ed8c738b43d4ae0a2;hpb=2ee35049f829fc523bab32504f31cfdef6745757;p=fw%2Fsdcc diff --git a/clean.mk b/clean.mk index a7ec1016..bd9f607d 100644 --- a/clean.mk +++ b/clean.mk @@ -3,12 +3,12 @@ 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 config.cache config.log config.status Makefile Makefile.common rm -f sdccconf.h main.mk *.dep rm -f ports.all ports.build