Enabled VPATH feature: changed nearly all Makefiles (149 files).
[fw/sdcc] / debugger / mcs51 / clean.mk
index 6c54d98c86614f6ae9151292c1c2c015a2dc0979..5f3f6637a91c780f1630366f359e3b6f2a384c0a 100644 (file)
@@ -1,12 +1,9 @@
 # Deleting all files created by building the program
 # --------------------------------------------------
-PRJDIR = ../..
-
 clean:
        rm -f *core *[%~] *.[oa]
        rm -f .[a-z]*~
-       rm -f $(PRJDIR)/bin/sdcdb$(EXEEXT) \
-       $(PRJDIR)/support/Util/SDCCerr.o
+       rm -f $(top_builddir)bin/sdcdb$(EXEEXT)
 
 # Deleting all files created by configuring or building the program
 # -----------------------------------------------------------------