+CLEANALLPORTS = avr ds390 izt mcs51 pic z80
+PRJDIR = ..
+
# Deleting all files created by building the program
# --------------------------------------------------
clean:
rm -f *core *[%~] *.[oa] *.output
- rm -f .[a-z]*~
+ rm -f .[a-z]*~ \#*
rm -f $(PRJDIR)/bin/sdcc sdcc
+ for port in $(CLEANALLPORTS) ; do\
+ $(MAKE) -C $$port -f ../port-clean.mk clean ;\
+ done
# Deleting all files created by configuring or building the program
# 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