Cleanups, minor improvements, death to strcpy strcat sprintf
[fw/sdcc] / clean.mk
index 154ae72da2b933bd28e042c32a800d5da4962a60..a7ec1016bd4f681e1c93090ed8c738b43d4ae0a2 100644 (file)
--- a/clean.mk
+++ b/clean.mk
@@ -3,15 +3,14 @@
 clean:
        rm -f *core *[%~] *.[oa]
        rm -f .[a-z]*~
-       rm -f bin/*
-
+       -rm -f bin/*
 
 # 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.common
        rm -f sdccconf.h main.mk *.dep
-
+       rm -f ports.all ports.build
 
 # Like clean but some files may still exist
 # -----------------------------------------