aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerländer2013-10-20 00:10:04 +0200
committerAdrian Kummerländer2013-10-20 00:10:04 +0200
commit2b5ed18ae11439897a64708a434e5d7a6edac91e (patch)
treee782e57759faf6cde8aae0c821f6e5c40169cd07
parent0b3eebbf3b8644f06b2ae9d512135870938fb1c3 (diff)
downloadSimpleParser-2b5ed18ae11439897a64708a434e5d7a6edac91e.tar
SimpleParser-2b5ed18ae11439897a64708a434e5d7a6edac91e.tar.gz
SimpleParser-2b5ed18ae11439897a64708a434e5d7a6edac91e.tar.bz2
SimpleParser-2b5ed18ae11439897a64708a434e5d7a6edac91e.tar.lz
SimpleParser-2b5ed18ae11439897a64708a434e5d7a6edac91e.tar.xz
SimpleParser-2b5ed18ae11439897a64708a434e5d7a6edac91e.tar.zst
SimpleParser-2b5ed18ae11439897a64708a434e5d7a6edac91e.zip
Enabled C++11 for clc and test applications
-rw-r--r--Makefile4
1 files 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