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