X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=as%2Fmcs51%2Fclean.mk;h=c36ba5e146c84c9303e3fac5e25d2006c240f1d1;hb=af2f50140099ea47ed90055a749b73802c647376;hp=76d0f25da3847e62f1df8f6846fd2691911342c2;hpb=d5a894fa00d4da47d6f7110282dd16e49d872350;p=fw%2Fsdcc diff --git a/as/mcs51/clean.mk b/as/mcs51/clean.mk index 76d0f25d..c36ba5e1 100644 --- a/as/mcs51/clean.mk +++ b/as/mcs51/clean.mk @@ -2,22 +2,20 @@ # -------------------------------------------------- include $(top_builddir)/Makefile.common -clean: - rm -f *core *[%~] *.[oa] - rm -f .[a-z]*~ - rm -f $(top_builddir)/bin/asx8051$(EXEEXT) asx8051$(EXEEXT) - +clean: mostlyclean + rm -f *.dep # Deleting all files created by configuring or building the program # ----------------------------------------------------------------- distclean: clean - rm -f Makefile *.dep - + rm -f Makefile # Like clean but some files may still exist # ----------------------------------------- -mostlyclean: clean - +mostlyclean: + rm -f *core *[%~] *.[oa] + rm -f .[a-z]*~ + rm -f $(top_builddir)/bin/asx8051$(EXEEXT) asx8051$(EXEEXT) # Deleting everything that can reconstructed by this Makefile. It deletes # everything deleted by distclean plus files created by bison, etc.