aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ee64ced..c6201c9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
CXXFLAGS += -I. -std=c++14 -Wall -Wextra -Wno-unused-parameter
HEADERS = $(wildcard chilbert/*.hpp)
-TESTS = test/test_bitvec test/test_gray_code_rank
+TESTS = test/test_bitvec test/test_gray_code_rank test/test_hilbert
all: $(TESTS)
@@ -11,6 +11,9 @@ clean:
test/%: test/%.cpp $(HEADERS)
$(CXX) $(CXXFLAGS) -o $@ $@.cpp
+test/test_hilbert: test/test_hilbert.cpp $(HEADERS)
+ $(CXX) $(CXXFLAGS) -lgmp -lgmpxx -o $@ $@.cpp
+
FORCE:
test/%.run: $(TESTS) FORCE