EXEEXT introduces to solve Cygwin problems
[fw/sdcc] / as / mcs51 / 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/asx8051$(EXEEXT) $(PRJDIR)/bin/aslink$(EXEEXT) asx8051$(EXEEXT) aslink$(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