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