Latest commit was incomplete
[fw/sdcc] / 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 bin/*
7
8
9 # Deleting all files created by configuring or building the program
10 # -----------------------------------------------------------------
11 distclean: clean
12         rm -f config.cache config.log config.status Makefile.common
13         rm -f sdccconf.h main.mk *.dep
14         rm ports.all ports.build
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