Enabled VPATH feature: changed nearly all Makefiles (149 files).
[fw/sdcc] / support / makebin / clean.mk
index db12b136a9f770db5a62ce6a4b1e13f76ab04dd1..715c0ae64940d22bfa00489f94fb9322a87581de 100644 (file)
@@ -2,13 +2,13 @@
 # --------------------------------------------------
 clean:
        rm -rf obj
-       rm -f *core *[%~] *.[oa] makebin
+       rm -f *core *[%~] *.[oa] $(top_builddir)bin/makebin$(EXEEXT)
        rm -f *.[a-z]*~
 
 # Deleting all files created by configuring or building the program
 # -----------------------------------------------------------------
 distclean: clean
-       rm -f *.dep
+       rm -f Makefile *.dep
 
 
 # Like clean but some files may still exist