aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-03-13 00:27:15 +0100
committerMattias Andrée <maandree@kth.se>2016-03-13 00:33:43 +0100
commitb2584fb5a9851bdf3c23036e6cea9cd301135df0 (patch)
tree762918fd9c3d9d323b59f3d982e2dd05ba117436 /Makefile
parentAdd possibility to compare against libtommath (diff)
downloadlibzahl-b2584fb5a9851bdf3c23036e6cea9cd301135df0.tar.gz
libzahl-b2584fb5a9851bdf3c23036e6cea9cd301135df0.tar.bz2
libzahl-b2584fb5a9851bdf3c23036e6cea9cd301135df0.tar.xz
Add possibility to compare against libgmp
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 19d3e1d..90351d9 100644
--- a/Makefile
+++ b/Makefile
@@ -89,6 +89,7 @@ endif
ifdef BENCHMARK_LIB
CPPFLAGS += -DBENCHMARK_LIB='"$(BENCHMARK_LIB).h"'
BENCHMARK_libtommath = -ltommath
+BENCHMARK_libgmp = -lgmp
benchmark: bench/benchmark.c bench/$(BENCHMARK_LIB).h
$(CC) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) -o $@ bench/benchmark.c $(BENCHMARK_$(BENCHMARK_LIB))
endif