4704a9b35be5d8f1edf3760e67270d7c5eb0bce0
[fw/sdcc] / as / mcs51 / clean.mk
1 # Deleting all files created by building the program
2 # --------------------------------------------------
3 clean:
4         rm -f *core *[%~] *.[oa]
5         rm -f .[a-z]*~
6         rm -f $(PRJDIR)/asx8051 $(PRJDIR)/aslink asx8051 aslink
7
8
9 # Deleting all files created by configuring or building the program
10 # -----------------------------------------------------------------
11 distclean: clean
12         rm -f Makefile *.dep
13
14
15 # Like clean but some files may still exist
16 # -----------------------------------------
17 mostlyclean: clean
18
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