* src/mcs51/ralloc.c (packRegsForAssign): fixed bug #930931, fixed check for bitfields
[fw/sdcc] / clean.mk
index 67b985f3962875b910d49e387f8da65b64683f41..62a746d0658313c4cc99e517118e1ea00d14a349 100644 (file)
--- a/clean.mk
+++ b/clean.mk
@@ -3,15 +3,14 @@
 clean:
        rm -f *core *[%~] *.[oa]
        rm -f .[a-z]*~
-       -rm -f bin/*
-
+       find bin -maxdepth 1 -type f ! -name README -exec rm {} \;
 
 # 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 -f ports.all ports.build
 
 # Like clean but some files may still exist
 # -----------------------------------------