diff options
author | Kimplul <kimi.h.kuparinen@gmail.com> | 2025-09-16 21:41:01 +0300 |
---|---|---|
committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2025-09-16 21:41:01 +0300 |
commit | 7b6dcbf85c6b031c205dbbfcc56d5c62a6590902 (patch) | |
tree | 8faabe2eee4b596440317784ba1be2e24cf2f956 | |
parent | 13d33be824a0f6a3952045df7b97b35fc69520a8 (diff) | |
download | conts-7b6dcbf85c6b031c205dbbfcc56d5c62a6590902.tar.gz conts-7b6dcbf85c6b031c205dbbfcc56d5c62a6590902.zip |
fix `make bench`
-rw-r--r-- | Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -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: |