aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-08-05 10:51:15 +0200
committerDavid Robillard <d@drobilla.net>2018-08-07 20:01:17 +0200
commit5472d2524a319602371d1918b5645efbfef474d3 (patch)
tree18059f5a249d8ba2904159bacb4c93f4753f6803 /Makefile
parent1b0f59972bbb0e3e424ad5ce7a2bd22a7e6f0a1a (diff)
downloadchilbert-5472d2524a319602371d1918b5645efbfef474d3.tar.gz
chilbert-5472d2524a319602371d1918b5645efbfef474d3.tar.bz2
chilbert-5472d2524a319602371d1918b5645efbfef474d3.zip
Fix BigBitVec::fsb()
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..0a81f62
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,19 @@
+CXXFLAGS += -I. -std=c++14 -Wall -Wextra -Wno-unused-parameter
+
+HEADERS = $(wildcard Hilbert/*.hpp)
+TESTS = test/test_fsb
+
+all: $(TESTS)
+
+clean:
+ rm -f $(TESTS)
+
+test/%: test/%.cpp $(HEADERS)
+ $(CXX) $(CXXFLAGS) -o $@ $@.cpp
+
+FORCE:
+
+test/%.test: test/test_fsb FORCE
+ @test/$*
+
+test: $(addsuffix .test, $(TESTS))