1 CLEANALLPORTS = avr ds390 ds400 hc08 izt mcs51 pic pic16 z80 xa51
3 # Deleting all files created by building the program
4 # --------------------------------------------------
6 rm -f *core *[%~] *.[oa] *.output
9 rm -f SDCCy.c SDCCy.h SDCClex.c
10 rm -f $(top_builddir)/bin/sdcc$(EXEEXT) sdcc$(EXEEXT)
11 for port in $(CLEANALLPORTS) ; do\
12 if [ -f $$port/Makefile ]; then\
13 $(MAKE) -C $$port clean ;\
18 # Deleting all files created by configuring or building the program
19 # -----------------------------------------------------------------
22 for port in $(CLEANALLPORTS) ; do\
23 if [ -f $$port/Makefile ]; then\
24 $(MAKE) -C $$port distclean ;\
29 # Like clean but some files may still exist
30 # -----------------------------------------
37 # Deleting everything that can reconstructed by this Makefile. It deletes
38 # everything deleted by distclean plus files created by bison, etc.
39 # -----------------------------------------------------------------------