summaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2019-01-20 23:21:53 +0100
committerNao Pross <naopross@thearcway.org>2019-01-20 23:24:36 +0100
commit7f4277381b1c50f1a183702ac24812872e803adb (patch)
tree26aa0eca0bda10f64fdf828c5dbef44628e6454a /makefile
downloadlibmm-7f4277381b1c50f1a183702ac24812872e803adb.tar.gz
libmm-7f4277381b1c50f1a183702ac24812872e803adb.zip
Initial commit, add mmvec.hpp with example, makefile and .gitignore
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 $@