* Makefile.in, configure.in, configure,
[fw/sdcc] / debugger / mcs51 / clean.mk
index 3a67269ce00631ea5dbc1c789e9ee0ccac1d1232..e1052242b51e68f58821fbad2e48ed0ea4a781f7 100644 (file)
@@ -3,13 +3,12 @@
 clean:
        rm -f *core *[%~] *.[oa]
        rm -f .[a-z]*~
-       rm -f $(PRJDIR)/bin/sdcdb \
-       $(PRJDIR)/support/Util/SDCCerr.o
+       rm -f $(top_builddir)/bin/sdcdb$(EXEEXT)
 
 # Deleting all files created by configuring or building the program
 # -----------------------------------------------------------------
 distclean: clean
-       rm -f config.cache config.log config.status
+       rm -f config.h config.cache config.log config.status
        rm -f Makefile *.dep