summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2025-09-16 21:41:01 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2025-09-16 21:41:01 +0300
commit7b6dcbf85c6b031c205dbbfcc56d5c62a6590902 (patch)
tree8faabe2eee4b596440317784ba1be2e24cf2f956
parent13d33be824a0f6a3952045df7b97b35fc69520a8 (diff)
downloadconts-7b6dcbf85c6b031c205dbbfcc56d5c62a6590902.tar.gz
conts-7b6dcbf85c6b031c205dbbfcc56d5c62a6590902.zip
fix `make bench`
-rw-r--r--Makefile12
1 files 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: