aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-11-06 21:52:35 +0100
committerMattias Andrée <maandree@operamail.com>2014-11-06 21:52:35 +0100
commit6f7ad64a9cc1f416918044a363fcfd37c3fb7347 (patch)
treee62c30a6e719a994f1525b7ef76747ff47c75df9 /Makefile
parentm (diff)
downloadlibkeccak-6f7ad64a9cc1f416918044a363fcfd37c3fb7347.tar.gz
libkeccak-6f7ad64a9cc1f416918044a363fcfd37c3fb7347.tar.bz2
libkeccak-6f7ad64a9cc1f416918044a363fcfd37c3fb7347.tar.xz
add run-benchmark rule
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8fadd8d..de06ae5 100644
--- a/Makefile
+++ b/Makefile
@@ -92,6 +92,11 @@ check: bin/test
# the test itself never prints to standard error.
+.PHONY: run-benchmark
+run-benchmark: bin/benchmark
+ for i in $$(seq 7) ; do env LD_LIBRARY_PATH=bin bin/benchmark ; done | median
+
+
.PHONY: clean
clean: