Enabled VPATH feature: changed nearly all Makefiles (149 files).
[fw/sdcc] / support / cpp2 / clean.mk
index 8ab53b741151e03f1bc1a0f9d4f66be52db439d5..eb3d84a87ac55785449e96e83b18691d029aaf6b 100644 (file)
@@ -1,11 +1,9 @@
-PRJDIR = ../..
-
 # Deleting all files created by building the program
 # --------------------------------------------------
 clean:
        rm -f *core *[%~] *.[oa]
        rm -f .[a-z]*~
-       rm -f $(PRJDIR)/bin/sdcpp$(EXEEXT)
+       rm -f $(top_builddir)bin/sdcpp$(EXEEXT)
 
 
 # Deleting all files created by configuring or building the program