diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |