X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Fclean.mk;h=b60ad6d7874bb653ed510fe58abad59afaec146d;hb=e2c3c8f3b90c272cce361f16629b111e93023063;hp=a083e38770df25e0fa63238e69568eab539621b4;hpb=bdba83c40252347ecce0cb4f56e19fb9406c8ca5;p=fw%2Fsdcc diff --git a/src/clean.mk b/src/clean.mk index a083e387..b60ad6d7 100644 --- a/src/clean.mk +++ b/src/clean.mk @@ -2,9 +2,12 @@ # -------------------------------------------------- clean: rm -f *core *[%~] *.[oa] *.output - rm -f .[a-z]*~ + rm -f .[a-z]*~ \#* rm -f $(PRJDIR)/bin/sdcc sdcc - for port in $(PORTS) ; do $(MAKE) -C $$port clean; done; + for port in $(PORTS) ; do\ + $(MAKE) -C $$port -f clean.mk clean ;\ + done + # Deleting all files created by configuring or building the program # ----------------------------------------------------------------- @@ -15,6 +18,9 @@ distclean: clean # Like clean but some files may still exist # ----------------------------------------- mostlyclean: clean + rm -f SDCCy.c + rm -f SDCCy.h + rm -f SDCClex.c # Deleting everything that can reconstructed by this Makefile. It deletes