EXEEXT introduces to solve Cygwin problems
[fw/sdcc] / as / mcs51 / clean.mk
index 4704a9b35be5d8f1edf3760e67270d7c5eb0bce0..a447881531e465f2fdb7d7271f95f6d7a436ba9f 100644 (file)
@@ -1,9 +1,12 @@
 # Deleting all files created by building the program
 # --------------------------------------------------
+include ../../Makefile.common
+PRJDIR = ../..
+
 clean:
        rm -f *core *[%~] *.[oa]
        rm -f .[a-z]*~
-       rm -f $(PRJDIR)/asx8051 $(PRJDIR)/aslink asx8051 aslink
+       rm -f $(PRJDIR)/bin/asx8051$(EXEEXT) $(PRJDIR)/bin/aslink$(EXEEXT) asx8051$(EXEEXT) aslink$(EXEEXT)
 
 
 # Deleting all files created by configuring or building the program