X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=as%2Fmcs51%2Fclean.mk;h=829d06942953889e3cb7ae41f405f07baeb890fa;hb=c42e9051755428d14eb620abc9eda86d43479a1a;hp=a447881531e465f2fdb7d7271f95f6d7a436ba9f;hpb=5979bbd157a5f3cd8018aed666e4dd41a3e08edf;p=fw%2Fsdcc diff --git a/as/mcs51/clean.mk b/as/mcs51/clean.mk index a4478815..829d0694 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) $(top_builddir)bin/aslink$(EXEEXT) asx8051$(EXEEXT) aslink$(EXEEXT) # Deleting all files created by configuring or building the program