Enabled VPATH feature: changed nearly all Makefiles (149 files).
[fw/sdcc] / support / librarian / clean.mk
index 7e2a3ca088241dc6b1415a867cdcf81b1ad6d8af..19bfdf1f82e51a41bfd626504a15e9577e5ddef5 100644 (file)
@@ -1,8 +1,7 @@
-PRJDIR = ../..
-
 clean:
        rm -f *core *[%~] *.[oa] *.output
        rm -f .[a-z]*~ \#*
-       rm -f $(PRJDIR)/bin/sdcclib$(EXEEXT)
+       rm -f $(top_builddir)bin/sdcclib$(EXEEXT)
 
 distclean realclean: clean
+       rm -f Makefile