aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-03-09 19:12:57 +0100
committerMattias Andrée <maandree@kth.se>2016-03-09 19:12:57 +0100
commitc018cebc38c37370ab6c89d19694587edf7d0d0e (patch)
tree65dbef72dc87e189ffdfee709ae7ce39b14d9cfb /Makefile
parentA brief description of exponentiation by squaring (diff)
downloadlibzahl-c018cebc38c37370ab6c89d19694587edf7d0d0e.tar.gz
libzahl-c018cebc38c37370ab6c89d19694587edf7d0d0e.tar.bz2
libzahl-c018cebc38c37370ab6c89d19694587edf7d0d0e.tar.xz
Add simple benchmarker
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2e8d2d5..5a42f89 100644
--- a/Makefile
+++ b/Makefile
@@ -82,6 +82,9 @@ test-random.c: test-generate.py
test: test.c libzahl.a test-random.c
$(CC) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) -o $@ test.c libzahl.a
+benchmark: bench/benchmark.c libzahl.a
+ $(CC) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) -o $@ $^
+
check: test
./test