sim: common: merge multiple clean commands
authorMike Frysinger <vapier@gentoo.org>
Sun, 31 Oct 2021 05:17:10 +0000 (01:17 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sun, 31 Oct 2021 05:17:10 +0000 (01:17 -0400)
This provides a minor speedup when cleaning in a multi-target build.

sim/common/Make-common.in

index ffcbc7e3c058559a04c0a0e67b816255c8d55a94..cdad4a53d4bcc900a794d48f4cc7705454781831 100644 (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