aboutsummaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
authorOllie Ford <me@ojford.com>2014-10-22 21:47:31 +0100
committerOllie Ford <me@ojford.com>2014-10-22 21:47:31 +0100
commit083c8df6bdacaea62ce18c54faba16514fdce6bd (patch)
tree1e5cf648ea462119e95adadad8c11dc366a87c21 /makefile
parentace3ac9d8bb62b81f373ec5725b1895dab33e3f2 (diff)
downloadMipsCPU-083c8df6bdacaea62ce18c54faba16514fdce6bd.tar.gz
MipsCPU-083c8df6bdacaea62ce18c54faba16514fdce6bd.zip
fix for c++11
Diffstat (limited to 'makefile')
-rw-r--r--makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/makefile b/makefile
index 9a02e82..93075cb 100644
--- a/makefile
+++ b/makefile
@@ -5,6 +5,9 @@ LOGIN ?= eie2ugs
CPPFLAGS += -W -Wall -g
CPPFLAGS += -I include
+CFLAGS += -std=c99
+CXXFLAGS += -std=c++11
+
# Force the inclusion of C++ standard libraries
LDLIBS += -lstdc++