X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=as%2Fmcs51%2Fclean.mk;h=90a6b2a9b25b0b15f117250c05a2e32f9cb94c69;hb=e5eda9d6a5ea34e83b0b1fdcf05db3b04b7aaac8;hp=a447881531e465f2fdb7d7271f95f6d7a436ba9f;hpb=72b7e8dadd92279596c0f56649775fc056acf449;p=fw%2Fsdcc diff --git a/as/mcs51/clean.mk b/as/mcs51/clean.mk index a4478815..90a6b2a9 100644 --- a/as/mcs51/clean.mk +++ b/as/mcs51/clean.mk @@ -1,12 +1,11 @@ # Deleting all files created by building the program # -------------------------------------------------- -include ../../Makefile.common -PRJDIR = ../.. +include $(top_builddir)Makefile.common clean: rm -f *core *[%~] *.[oa] rm -f .[a-z]*~ - rm -f $(PRJDIR)/bin/asx8051$(EXEEXT) $(PRJDIR)/bin/aslink$(EXEEXT) asx8051$(EXEEXT) aslink$(EXEEXT) + rm -f $(top_builddir)bin/asx8051$(EXEEXT) asx8051$(EXEEXT) # Deleting all files created by configuring or building the program