aboutsummaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2016-12-15 11:47:19 +0000
committerbloodstalker <thabogre@gmail.com>2016-12-15 11:47:19 +0000
commitf2c2f3c015563e9847c53409c9671eb6102bb44e (patch)
tree5821689a8a939e95265d8737af1b4a284a19a18d /makefile
parentupdated (diff)
downloadmutator-f2c2f3c015563e9847c53409c9671eb6102bb44e.tar.gz
mutator-f2c2f3c015563e9847c53409c9671eb6102bb44e.zip
updated
Diffstat (limited to 'makefile')
-rw-r--r--makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/makefile b/makefile
index de1acd7..f426dd2 100644
--- a/makefile
+++ b/makefile
@@ -3,10 +3,12 @@
#CXX=g++
CXX?=clang++
-CXX_FLAGS=$(shell llvm-config --cxxflags)
+LLVM_CONF?=llvm-config
+
+CXX_FLAGS=$(shell $(LLVM_CONF) --cxxflags)
#EXTRA_CXX_FALGS=-I/home/bloodstalker/extra/llvm-clang-4/llvm/tools/clang/include -I/home/bloodstalker/extra/llvm-clang-4/build/tools/clang/include
-EXTRA_CXX_FALGS=-I$(shell llvm-config --src-root)/tools/clang/include -I$(shell llvm-config --obj-root)/tools/clang/include -std=c++11
+EXTRA_CXX_FALGS=-I$(shell $(LLVM_CONF) --src-root)/tools/clang/include -I$(shell llvm-config --obj-root)/tools/clang/include -std=c++11
EXTRA_LD_FLAGS=-v tinyxml2/tinyxml2.o
LD_FLAGS=-Wl,--start-group -lclangAST -lclangAnalysis -lclangBasic\