From 7b6dcbf85c6b031c205dbbfcc56d5c62a6590902 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Tue, 16 Sep 2025 21:41:01 +0300 Subject: fix `make bench` --- Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index dae78e5..eecb6f2 100644 --- a/Makefile +++ b/Makefile @@ -28,17 +28,23 @@ bench: bench-vec bench-sptree bench-map bench-vec: mkdir -p build - $(CC) $(CFLAGS) -O2 -Iinclude tests/vec.c -o build/vec_opt + $(CC) $(CFLAGS) -O2 \ + -Iinclude -Ideps/covsrv/include \ + tests/vec.c -o build/vec_opt time ./build/vec_opt 2> build/vec_bench.txt bench-sptree: mkdir -p build - $(CC) $(CFLAGS) -O2 -Iinclude tests/sptree.c -o build/sptree_opt + $(CC) $(CFLAGS) -O2 \ + -Iinclude -Ideps/covsrv/include \ + tests/sptree.c -o build/sptree_opt time ./build/sptree_opt 2> build/sptree_bench.txt bench-map: mkdir -p build - $(CC) $(CFLAGS) -O2 -Iinclude tests/map.c -o build/map_opt + $(CC) $(CFLAGS) -O2 \ + -Iinclude -Ideps/covsrv/include \ + tests/map.c -o build/map_opt time ./build/map_opt 2> build/map_bench.txt clean: -- cgit v1.2.3