* as/hc08/clean.mk,
[fw/sdcc] / as / mcs51 / clean.mk
1 # Deleting all files created by building the program
2 # --------------------------------------------------
3 include $(top_builddir)/Makefile.common
4
5 clean: mostlyclean
6         rm -f *.dep
7
8 # Deleting all files created by configuring or building the program
9 # -----------------------------------------------------------------
10 distclean: clean
11         rm -f Makefile
12
13 # Like clean but some files may still exist
14 # -----------------------------------------
15 mostlyclean:
16         rm -f *core *[%~] *.[oa]
17         rm -f .[a-z]*~
18         rm -f $(top_builddir)/bin/asx8051$(EXEEXT) asx8051$(EXEEXT)
19
20 # Deleting everything that can reconstructed by this Makefile. It deletes
21 # everything deleted by distclean plus files created by bison, etc.
22 # -----------------------------------------------------------------------
23 realclean: distclean