ds390 library support
[fw/sdcc] / device / lib / clean.mk
1 include incl.mk
2
3 # Deleting all files created by building the program
4 # --------------------------------------------------
5 clean:
6         rm -f *core *[%~] *.[oa] *.rel *.lst *.sym *.asm *.ihx *.dump* *.cdb
7         rm -f .[a-z]*~
8         rm -f *.dump*
9         for model in $(MODELS); do \
10           rm -rf $$model; \
11         done
12         cd ds390; make clean
13
14
15 # Deleting all files created by configuring or building the program
16 # -----------------------------------------------------------------
17 distclean: clean
18         rm -f Makefile *.dep
19         rm -f ds390/*.dep
20
21 # Like clean but some files may still exist
22 # -----------------------------------------
23 mostlyclean: clean
24
25
26 # Deleting everything that can reconstructed by this Makefile. It deletes
27 # everything deleted by distclean plus files created by bison, etc.
28 # -----------------------------------------------------------------------
29 realclean: distclean