]> git.gag.com Git - fw/sdcc/blob - clean.mk
Hubert Sack <sack AT digiplan.de>
[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         find bin -maxdepth 1 -type f ! -name README -exec rm {} \;
7
8 # Deleting all files created by configuring or building the program
9 # -----------------------------------------------------------------
10 distclean: clean
11         rm -f config.cache config.log config.status Makefile.common
12         rm -f sdccconf.h main.mk *.dep
13         rm -f ports.all ports.build
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