[ucsim] Update email and file info, fix stm8 flash controller
[sdcc.git] / sdcc / sim / ucsim / src / sims / i8085.src / clean.mk
blobba5367bd567b1d1417141d5c327f26b4aeb9feda
2 clean: local_clean sub_clean
4 local_clean:
5 rm -f *core *[%~] *.[oa] *.map
6 rm -f .[a-z]*~
7 rm -f si8085$(EXEEXT) si8085.exe
8 rm -f smcs6502$(EXEEXT) smcs6502.exe
9 rm -f ucsim_i8085$(EXEEXT) ucsim_i8085.exe
11 sub_clean:
12 ifneq ($(shell test -f test/Makefile && echo ok), )
13 $(MAKE) -C test -f clean.mk clean
14 endif
16 distclean: local_distclean sub_distclean
18 local_distclean: local_clean
19 rm -f config.cache config.log config.status
20 rm -f Makefile *.dep
21 rm -f *.obj *.list *.lst *.hex
22 rm -f test/Makefile
24 sub_distclean: