check: mkdir -p build $(CC) -g -Iinclude tests/vec.c -o build/vec $(CC) -g -Iinclude tests/htrie.c -o build/htrie valgrind -q --error-exitcode=1 ./build/vec valgrind -q --error-exitcode=1 ./build/htrie bench: mkdir -p build $(CC) -g -O2 -Iinclude tests/vec.c -o build/vec_opt $(CC) -g -O2 -Iinclude tests/htrie.c -o build/htrie_opt time ./build/vec_opt 2> build/vec_bench.txt time ./build/htrie_opt 2> build/htrie_bench.txt clean: rm -rf build