update make recipe's prerequisites

Signed-off-by: Anjan Roy <hello@itzmeanjan.in>
This commit is contained in:
Anjan Roy
2023-02-27 11:34:18 +04:00
parent f71699e7bd
commit 672c2d32c6

View File

@@ -11,7 +11,7 @@ wrapper/libkyber_kem.so: wrapper/kyber_kem.cpp include/*.hpp sha3/include/*.hpp
lib: wrapper/libkyber_kem.so
test/a.out: test/main.cpp include/*.hpp sha3/include/*.hpp
test/a.out: test/main.cpp include/*.hpp sha3/include/*.hpp include/test/*.hpp
$(CXX) $(CXXFLAGS) $(OPTFLAGS) $(IFLAGS) $(DEP_IFLAGS) $< -o $@
testing: test/a.out
@@ -26,7 +26,7 @@ clean:
format:
find . -path ./sha3 -prune -name '*.hpp' -o -name '*.cpp' -o -name '*.hpp' | xargs clang-format -i --style=Mozilla && python3 -m black wrapper/python/*.py
bench/a.out: bench/main.cpp include/*.hpp sha3/include/*.hpp
bench/a.out: bench/main.cpp include/*.hpp sha3/include/*.hpp include/bench/*.hpp
# make sure you've google-benchmark globally installed;
# see https://github.com/google/benchmark/tree/3b19d722#installation
$(CXX) $(CXXFLAGS) $(OPTFLAGS) $(IFLAGS) $(DEP_IFLAGS) $< -lbenchmark -o $@