summaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..c18edc5
--- /dev/null
+++ b/makefile
@@ -0,0 +1,8 @@
+CPPC := c++
+CPPARGS := -Wall -Werror -I. -std=c++17 -pedantic
+
+all: build/example
+
+build/%: %.cpp mmvec.hpp
+ mkdir -p build
+ $(CPPC) $(CPPARGS) $< -o $@