diff options
author | David Robillard <d@drobilla.net> | 2018-08-18 15:04:57 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-29 14:46:46 +0200 |
commit | 767265863fca8e2043622f0591281a1deb7821af (patch) | |
tree | 426a2063488e33950615e9357d186bec794f28ea /Makefile | |
parent | 5e1a55cb944cc5ccbbc2c586a97faf09d3d4ff34 (diff) | |
download | chilbert-767265863fca8e2043622f0591281a1deb7821af.tar.gz chilbert-767265863fca8e2043622f0591281a1deb7821af.tar.bz2 chilbert-767265863fca8e2043622f0591281a1deb7821af.zip |
Add Hilbert mapping and unmapping tests
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 |