diff options
Diffstat (limited to 'Makerules')
-rw-r--r-- | Makerules | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Makerules b/Makerules index 26e272e3aa..10cbd972e4 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) |