Enabled VPATH feature: changed nearly all Makefiles (149 files).
[fw/sdcc] / sim / ucsim / clean.mk
index 7643b5e130dfc2b42c30e73eaab49eca84056c43..4411323ee52a143b8505ecfc18b14fe3f54a705f 100644 (file)
@@ -2,14 +2,15 @@
 # --------------------------------------------------
 clean:
        rm -f *core *[%~] *.[oa] *.so ucsim$(EXEEXT)
-       rm -f .[a-z]*~
+       rm -f .[a-z]*~ ptt
 
 
 # Deleting all files created by configuring or building the program
 # -----------------------------------------------------------------
 distclean: clean
        rm -f config.cache config.log config.status
-       rm -f ddconfig.h main.mk *.dep
+       rm -f ddconfig.h main.mk Makefile *.dep
+       rm -rf autom4te.cache
 
 
 # Like clean but some files may still exist