diff options
| author | Mattias Andrée <maandree@kth.se> | 2016-04-27 21:39:19 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2016-04-27 21:39:19 +0200 |
| commit | 95cec6a5ecfdc2a75ba041a6e9f9cd568d53a6fc (patch) | |
| tree | b3cf3c526987b7970faf72fdaaf91cb753b28353 /Makefile | |
| parent | Document UNSAFE (diff) | |
| download | libzahl-95cec6a5ecfdc2a75ba041a6e9f9cd568d53a6fc.tar.gz libzahl-95cec6a5ecfdc2a75ba041a6e9f9cd568d53a6fc.tar.bz2 libzahl-95cec6a5ecfdc2a75ba041a6e9f9cd568d53a6fc.tar.xz | |
More accurate benchmarking
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -130,15 +130,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 $(BENCHMARK_DEP_$(BENCHMARK_LIB)) +benchmark: bench/benchmark.c bench/benchmark.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 $(BENCHMARK_DEP_$(BENCHMARK_LIB)) +benchmark-func: bench/benchmark-func.c bench/benchmark.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 libzahl.a +benchmark-zrand: bench/benchmark-zrand.c bench/benchmark.h libzahl.a $(CC) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) -o $@ $^ check: test |
