8b506b610ed34047630ac7863a166ac030733c34
[fw/sdcc] / support / cpp2 / clean.mk
1 PRJDIR = ../..
2
3 # Deleting all files created by building the program
4 # --------------------------------------------------
5 clean:
6         rm -f *core *[%~] *.[oa]
7         rm -f .[a-z]*~
8         rm -f $(PRJDIR)/bin/sdcpp
9
10
11 # Deleting all files created by configuring or building the program
12 # -----------------------------------------------------------------
13 distclean: clean
14         rm -f config.cache config.log config.status
15         rm -f Makefile *.dep auto-host.h configargs.h cstamp-h
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