* fixed GCC 4.4.0 mingw compilation:
[fw/sdcc] / support / librarian / clean.mk
index 7e2a3ca088241dc6b1415a867cdcf81b1ad6d8af..f7f8f2c1b1ae70f58cdae42a1678b32c2fcb864f 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