summaryrefslogtreecommitdiffstats
path: root/vector/makefile
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2018-12-10 15:10:55 +0100
committerNao Pross <naopross@thearcway.org>2018-12-10 15:10:55 +0100
commitc2ec583c30cc95dd681dbb0c9fc5a46572913e22 (patch)
tree973ded7a18a2e63e4998ac30d384478f0702af20 /vector/makefile
parentImplement cross product for vec2 and vec3 (diff)
downloadcplusplus-c2ec583c30cc95dd681dbb0c9fc5a46572913e22.tar.gz
cplusplus-c2ec583c30cc95dd681dbb0c9fc5a46572913e22.zip
Update makefile ad update basic_vec to allow abstract algebraic structures
Unfortunately this requires C++17 as `static constexpr` members have an undefined behaviour before this version.
Diffstat (limited to 'vector/makefile')
-rw-r--r--vector/makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/vector/makefile b/vector/makefile
index 1303aa3..31136ea 100644
--- a/vector/makefile
+++ b/vector/makefile
@@ -2,8 +2,8 @@ CC := gcc
CARGS := -Wall -Werror -I.
LDARGS := -lm
-CPPC := g++
-CPPARGS := -Wall -I.
+CPPC := g++-8
+CPPARGS := -Wall -I. -std=c++17
all: vector.pdf c_build/vector cpp_build/vector