-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
28 lines (21 loc) · 1.03 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# To run string test cases
run_string_1: ./tests/test_string_1.cpp bloom_filter.hpp
@g++ ./tests/test_string_1.cpp bloom_filter.hpp
@./a.out $(TEST_FILE) $(FPR) $(EXPECTED_INSERT)
run_string_2: ./tests/test_string_2.cpp bloom_filter.hpp
@g++ ./tests/test_string_2.cpp bloom_filter.hpp
@./a.out $(TEST_FILE) $(HASH_COUNT) $(BIT_COUNT) $(EXPECTED_INSERT)
# To run int test cases
run_int_1: ./tests/test_int_1.cpp bloom_filter.hpp
@g++ ./tests/test_int_1.cpp bloom_filter.hpp
@./a.out $(TEST_FILE) $(FPR) $(EXPECTED_INSERT)
run_int_2: ./tests/test_int_2.cpp bloom_filter.hpp
@g++ ./tests/test_int_2.cpp bloom_filter.hpp
@./a.out $(TEST_FILE) $(HASH_COUNT) $(BIT_COUNT) $(EXPECTED_INSERT)
# To run double test cases
run_double_1: ./tests/test_double_1.cpp bloom_filter.hpp
@g++ ./tests/test_double_1.cpp bloom_filter.hpp
@./a.out $(TEST_FILE) $(FPR) $(EXPECTED_INSERT)
run_double_2: ./tests/test_double_2.cpp bloom_filter.hpp
@g++ ./tests/test_double_2.cpp bloom_filter.hpp
@./a.out $(TEST_FILE) $(HASH_COUNT) $(BIT_COUNT) $(EXPECTED_INSERT)