aboutsummaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-02-01 20:30:59 +0000
committerbloodstalker <thabogre@gmail.com>2017-02-01 20:30:59 +0000
commitea2f46389454b8ebdce50dea88bf86bc2c9fa288 (patch)
tree840d97a59b6a1ae73b40833d78894712f668493a /makefile
parentadded llvm runtime library (diff)
downloadmutator-ea2f46389454b8ebdce50dea88bf86bc2c9fa288.tar.gz
mutator-ea2f46389454b8ebdce50dea88bf86bc2c9fa288.zip
added a note to WIN_BUILD
Diffstat (limited to 'makefile')
-rw-r--r--makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/makefile b/makefile
index 3a34ad1..aead0de 100644
--- a/makefile
+++ b/makefile
@@ -3,6 +3,7 @@
CXX?=clang++
LLVM_CONF?=llvm-config
BUILD_MODE?=COV_NO_CLANG
+SHELL:=/bin/bash
CXX_FLAGS=$(shell $(LLVM_CONF) --cxxflags)
@@ -30,7 +31,7 @@ ifeq ($(BUILD_MODE), COV_GNU)
#$(error This build mode is only useable with clang++.)
#endif
EXTRA_CXX_FALGS=-I$(shell $(LLVM_CONF) --src-root)/tools/clang/include -I$(shell $(LLVM_CONF) --obj-root)/tools/clang/include\
- -std=c++11 -stdlib=libstdc++ -UNDEBUG -fprofile-arcs -ftest-coverage -fexceptions
+ -std=c++11 -UNDEBUG -fprofile-arcs -ftest-coverage -fexceptions
EXTRA_LD_FLAGS=-v tinyxml2/tinyxml2.o -fprofile-arcs -ftest-coverage
endif
@@ -41,6 +42,7 @@ EXTRA_LD_FLAGS=-v tinyxml2/tinyxml2.o
endif
ifeq ($(BUILD_MODE), WIN_BUILD)
+@echo "This build mode is only meant to be used for mutator's appveyor build. for regular windows builds tou can use COV_NO_CLANG."
$(error This build mode is not yet implemented.)
EXTRA_CXX_FALGS=-I$(shell $(LLVM_CONF) --src-root)/tools/clang/include -I$(shell $(LLVM_CONF) --obj-root)/tools/clang/include\
-std=c++11 -stdlib=libstdc++ -UNDEBUG -fexceptions