aboutsummaryrefslogtreecommitdiff
path: root/benchtests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'benchtests/Makefile')
-rw-r--r--benchtests/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/benchtests/Makefile b/benchtests/Makefile
index 61077ea..a05974e 100644
--- a/benchtests/Makefile
+++ b/benchtests/Makefile
@@ -128,7 +128,10 @@ bench-clean:
rm -f $(binaries-bench-malloc) $(addsuffix .o,$(binaries-bench-malloc))
rm -f $(timing-type) $(addsuffix .o,$(timing-type))
-bench: $(timing-type) $(gen-locales) bench-set bench-func bench-malloc
+bench: $(timing-type) $(gen-locales) bench-build bench-set bench-func \
+ bench-malloc
+# Target to only build the benchmark without running it.
+bench-build: $(binaries-bench) $(binaries-benchset) $(binaries-bench-malloc)
bench-set: $(binaries-benchset)
for run in $^; do \