aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ac857b2..bfc1768 100644
--- a/Makefile
+++ b/Makefile
@@ -5,9 +5,9 @@ TEST_FILES = test.cpp
all: parser test
parser: $(PROG_FILES) $(LIB_FILES)
- g++ -O2 -g -o bin/parser $(PROG_FILES) $(LIB_FILES)
+ g++ -std=c++11 -g -o bin/parser $(PROG_FILES) $(LIB_FILES)
test: $(LIB_FILES) $(TEST_FILES)
- g++ -o bin/test -lgtest $(LIB_FILES) $(TEST_FILES)
+ g++ -std=c++11 -O3 -o bin/test -lgtest $(LIB_FILES) $(TEST_FILES)
./bin/test