Enabled VPATH feature: changed nearly all Makefiles (149 files).
[fw/sdcc] / sim / ucsim / clean.mk
index 69efa57bbcd082c0a28cd11270469ca3bda0f373..4411323ee52a143b8505ecfc18b14fe3f54a705f 100644 (file)
@@ -1,15 +1,16 @@
 # Deleting all files created by building the program
 # --------------------------------------------------
 clean:
-       rm -f *core *[%~] *.[oa]
-       rm -f .[a-z]*~
+       rm -f *core *[%~] *.[oa] *.so ucsim$(EXEEXT)
+       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