From 2b5ed18ae11439897a64708a434e5d7a6edac91e Mon Sep 17 00:00:00 2001 From: Adrian Kummerländer Date: Sun, 20 Oct 2013 00:10:04 +0200 Subject: Enabled C++11 for clc and test applications --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f71ad1c..560c151 100644 --- a/Makefile +++ b/Makefile @@ -23,11 +23,11 @@ $(BIN_DIR)/libSimpleParser.so: $(LIB_OBJ) $(CXX) -shared -o $(BIN_DIR)/libSimpleParser.so $(LIB_OBJ) $(CXXFLAGS) $(BIN_DIR)/test: $(BIN_DIR)/libSimpleParser.so - $(CXX) -o $(BIN_DIR)/test $(TEST_SRC) -lgtest -L$(BIN_DIR)/ -lSimpleParser + $(CXX) -o $(BIN_DIR)/test $(TEST_SRC) -lgtest -L$(BIN_DIR)/ -lSimpleParser -std=c++11 ./$(BIN_DIR)/test $(BIN_DIR)/clc: $(BIN_DIR)/libSimpleParser.so - $(CXX) -o $(BIN_DIR)/clc $(CLC_SRC) -L$(BIN_DIR)/ -lSimpleParser + $(CXX) -o $(BIN_DIR)/clc $(CLC_SRC) -L$(BIN_DIR)/ -lSimpleParser -std=c++11 install: $(BIN_DIR)/libSimpleParser.so $(BIN_DIR)/clc install -m 0755 $(BIN_DIR)/libSimpleParser.so /usr/lib -- cgit v1.2.3