aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-04-24 00:41:07 +0200
committerMattias Andrée <maandree@kth.se>2016-04-24 00:41:07 +0200
commitd0788650ecb3f38f4e20f9a71f449980258d3112 (patch)
tree65404fd1b04676450a0634460d0f48d71f5b3a76 /Makefile
parentAdd support for benchmark against hebimath (diff)
downloadlibzahl-d0788650ecb3f38f4e20f9a71f449980258d3112.tar.gz
libzahl-d0788650ecb3f38f4e20f9a71f449980258d3112.tar.bz2
libzahl-d0788650ecb3f38f4e20f9a71f449980258d3112.tar.xz
bench/benchmark-func.c
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2636834..9bbd442 100644
--- a/Makefile
+++ b/Makefile
@@ -130,6 +130,9 @@ test: test.c libzahl.a test-random.c
benchmark: bench/benchmark.c $(BENCHMARK_DEP_$(BENCHMARK_LIB))
$(CC) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) -o $@ bench/benchmark.c $(BENCHMARK_LIB_$(BENCHMARK_LIB))
+benchmark-func: bench/benchmark-func.c $(BENCHMARK_DEP_$(BENCHMARK_LIB))
+ $(CC) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) -o $@ bench/benchmark-func.c $(BENCHMARK_LIB_$(BENCHMARK_LIB))
+
benchmark-zrand: bench/benchmark-zrand.c libzahl.a
$(CC) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) -o $@ $^
@@ -158,5 +161,6 @@ uninstall:
clean:
-rm -- *.o *.su *.a *.so test test-random.c 2>/dev/null
+ -rm -- benchmark benchmark-zrand benchmark-func 2>/dev/null
.PHONY: all check clean install uninstall