generate support/regressiom/Makefile from support/regressiom/Makefile.in
[fw/sdcc] / clean.mk
index 29e9e940f1a3659fb4d695c3d9ec588795697812..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 ports.all ports.build
+       rm -f ports.all ports.build
 
 # Like clean but some files may still exist
 # -----------------------------------------