sim: common: merge multiple clean commands

This provides a minor speedup when cleaning in a multi-target build.
This commit is contained in:
Mike Frysinger
2021-10-31 01:17:10 -04:00
parent b46621118d
commit 2213e33dd2

View File

@ -513,12 +513,12 @@ TAGS: force
*.[ch] ../common/*.[ch]
mostlyclean clean: $(SIM_EXTRA_CLEAN)
rm -f *.[oa] *~ core
rm -f run$(EXEEXT) libsim.a
rm -f hw-config.h stamp-hw
rm -f modules.c stamp-modules
rm -f gentmap targ-map.c targ-vals.h stamp-tvals
rm -f tmp-mloop.hin tmp-mloop.h tmp-mloop.cin tmp-mloop.c
rm -f *.[oa] *~ core \
run$(EXEEXT) libsim.a \
hw-config.h stamp-hw \
modules.c stamp-modules \
gentmap targ-map.c targ-vals.h stamp-tvals \
tmp-mloop.hin tmp-mloop.h tmp-mloop.cin tmp-mloop.c
distclean maintainer-clean realclean: clean $(SIM_EXTRA_DISTCLEAN)
rm -f TAGS