X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fclean.mk;h=21d366e8ef0b0700863872ba1bf4d4648da27ece;hb=19eb37fd0abc83f9e2491a3f9ac2033363954852;hp=165682d366ba333fdfa6fe3685d5a324563cc920;hpb=1e268ec9106bf4b907eff98c705e11689c9dcb64;p=fw%2Fsdcc diff --git a/src/clean.mk b/src/clean.mk index 165682d3..21d366e8 100644 --- a/src/clean.mk +++ b/src/clean.mk @@ -1,11 +1,14 @@ +CLEANALLPORTS = avr ds390 izt mcs51 pic z80 xa51 +PRJDIR = .. + # Deleting all files created by building the program # -------------------------------------------------- clean: rm -f *core *[%~] *.[oa] *.output rm -f .[a-z]*~ \#* rm -f $(PRJDIR)/bin/sdcc sdcc - for port in $(ALLPORTS) ; do\ - $(MAKE) -C $$port -f clean.mk clean ;\ + for port in $(CLEANALLPORTS) ; do\ + $(MAKE) -C $$port -f ../port-clean.mk clean ;\ done