Enabled VPATH feature: changed nearly all Makefiles (149 files).
[fw/sdcc] / packihx / clean.mk
index 734faae5a11e37bfee2665a36599479c6959260d..d0469ea5adae6ccdd319f6a285e714111ecf3848 100644 (file)
@@ -1,9 +1,7 @@
-PRJDIR = ..
-
 clean:
        rm -f *core *[%~] *.[oa] *.output
        rm -f .[a-z]*~ \#*
-       rm -f $(PRJDIR)/bin/packihx$(EXEEXT)
+       rm -f $(top_builddir)bin/packihx$(EXEEXT)
 
 distclean realclean: clean
        rm -f config.* Makefile