aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-08-18 15:04:57 +0200
committerDavid Robillard <d@drobilla.net>2018-09-29 14:46:46 +0200
commit767265863fca8e2043622f0591281a1deb7821af (patch)
tree426a2063488e33950615e9357d186bec794f28ea /Makefile
parent5e1a55cb944cc5ccbbc2c586a97faf09d3d4ff34 (diff)
downloadchilbert-767265863fca8e2043622f0591281a1deb7821af.tar.gz
chilbert-767265863fca8e2043622f0591281a1deb7821af.tar.bz2
chilbert-767265863fca8e2043622f0591281a1deb7821af.zip
Add Hilbert mapping and unmapping tests
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