aboutsummaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makerules b/Makerules
index 26e272e3..10cbd97 100644
--- a/Makerules
+++ b/Makerules
@@ -857,9 +857,10 @@ mostlyclean: common-mostlyclean
# Remove the object files.
common-mostlyclean:
- -rm -f $(addprefix $(objpfx),$(tests) $(others) \
- $(addsuffix .o,$(tests) $(others)) \
- $(addsuffix .out,$(tests)))
+ -rm -f $(addprefix $(objpfx),$(tests) $(test-srcs) $(others) \
+ $(addsuffix .o,$(tests) $(test-srcs) \
+ $(others)) \
+ $(addsuffix .out,$(tests) $(test-srcs)))
-rm -f $(addprefix $(objpfx),$(extra-objs) $(install-lib))
-rm -f core $(common-objpfx)stub-$(subdir)
$(rmobjs)