aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-03-27 18:03:57 +0200
committerMattias Andrée <maandree@kth.se>2016-03-27 18:03:57 +0200
commitf6106595fd75379982d487196162bea6a6ca0795 (patch)
treebea3ebf13a4c7439805c0526801d5583a0cc065e /Makefile
parentzrand: add DEFAULT_RANDOM and FASTEST_RANDOM (diff)
downloadlibzahl-f6106595fd75379982d487196162bea6a6ca0795.tar.gz
libzahl-f6106595fd75379982d487196162bea6a6ca0795.tar.bz2
libzahl-f6106595fd75379982d487196162bea6a6ca0795.tar.xz
Add rand(3), lrand(3), and random(3) to zrand
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 c256d4c..18f0ff8 100644
--- a/Makefile
+++ b/Makefile
@@ -94,6 +94,9 @@ benchmark: bench/benchmark.c bench/$(BENCHMARK_LIB).h
$(CC) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) -o $@ bench/benchmark.c $(BENCHMARK_$(BENCHMARK_LIB))
endif
+benchmark-zrand: bench/benchmark-zrand.c libzahl.a
+ $(CC) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) -o $@ $^
+
check: test
./test