struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / clean.mk
blob42a60ff2e52e4c395007ad58d3a379cb120855b0
1 # Deleting all files created by building the program
2 # --------------------------------------------------
3 clean:
4 rm -f *core *[%~] *.[oa]
5 rm -f .[a-z]*~
6 make -C bin clean
8 # Deleting all files created by configuring or building the program
9 # -----------------------------------------------------------------
10 distclean: clean
11 make -C bin distclean
12 rm -f config.cache config.log config.status Makefile Makefile.common
13 rm -f sdccconf.h main.mk *.dep *.depcc *.depcxx
14 rm -f ports.all ports.build
16 # Like clean but some files may still exist
17 # -----------------------------------------
18 mostlyclean: clean
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