aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-07-24 15:33:37 +0200
committerMattias Andrée <maandree@kth.se>2016-07-24 15:33:37 +0200
commit12b97053570a5bb9c4b1115eae9509cafd975eb1 (patch)
tree0ce2043c52d5479c53dde34c6118dad350f0153b /Makefile
parentAdd exercise: [05] Fast primality test (diff)
downloadlibzahl-12b97053570a5bb9c4b1115eae9509cafd975eb1.tar.gz
libzahl-12b97053570a5bb9c4b1115eae9509cafd975eb1.tar.bz2
libzahl-12b97053570a5bb9c4b1115eae9509cafd975eb1.tar.xz
Rename bench/{benchmark.h => util.h}
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 4087d3e..ace0226 100644
--- a/Makefile
+++ b/Makefile
@@ -149,15 +149,15 @@ test-random.c: test-generate.py
test: test.c libzahl.a test-random.c
$(CC) $(LDFLAGS) $(CFLAGS_WITHOUT_O) -O0 $(CPPFLAGS) -o $@ test.c libzahl.a
-benchmark: bench/benchmark.c bench/benchmark.h $(BENCHMARK_DEP_$(BENCHMARK_LIB))
+benchmark: bench/benchmark.c bench/util.h $(BENCHMARK_DEP_$(BENCHMARK_LIB))
$(CC) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) -o $@ bench/benchmark.c \
$(BENCHMARK_LIB_$(BENCHMARK_LIB)) $(BENCHMARK_C_$(BENCHMARK_LIB))
-benchmark-func: bench/benchmark-func.c bench/benchmark.h $(BENCHMARK_DEP_$(BENCHMARK_LIB))
+benchmark-func: bench/benchmark-func.c bench/util.h $(BENCHMARK_DEP_$(BENCHMARK_LIB))
$(CC) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) -o $@ bench/benchmark-func.c \
$(BENCHMARK_LIB_$(BENCHMARK_LIB)) $(BENCHMARK_C_$(BENCHMARK_LIB))
-benchmark-zrand: bench/benchmark-zrand.c bench/benchmark.h libzahl.a
+benchmark-zrand: bench/benchmark-zrand.c bench/util.h libzahl.a
$(CC) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) -o $@ bench/benchmark-zrand.c libzahl.a
refsheet.pdf: doc/refsheet.tex