about summary refs log tree commit diff
path: root/Makerules
diff options
context:
space:
mode:
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makerules b/Makerules
index 81c869352f..6bc796193f 100644
--- a/Makerules
+++ b/Makerules
@@ -884,8 +884,7 @@ clean: common-clean
 mostlyclean: common-mostlyclean
 
 do-tests-clean:
-	-rm -f $(addprefix $(objpfx),$(addsuffix .out,$(tests) $(test-srcs)) \
-				     $(addsuffix .sout,$(tests-static)))
+	-rm -f $(patsubst %,$(objpfx)%.out,$(tests) $(test-srcs))
 
 # Remove the object files.
 common-mostlyclean: