aboutsummaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2016-12-14 20:39:40 +0000
committerbloodstalker <thabogre@gmail.com>2016-12-14 20:39:40 +0000
commitac79974c567ec6d6a73a07b5d663eb540e57558d (patch)
treed95e63e3767689cb354cbb55a35112b7cf9ec176 /makefile
parentfixed the build script. (diff)
downloadmutator-ac79974c567ec6d6a73a07b5d663eb540e57558d.tar.gz
mutator-ac79974c567ec6d6a73a07b5d663eb540e57558d.zip
now the user will just have to run it
Diffstat (limited to 'makefile')
-rw-r--r--makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/makefile b/makefile
index e918f19..de0011a 100644
--- a/makefile
+++ b/makefile
@@ -1,13 +1,13 @@
#######################################VARS####################################
#CXX=g++
-CXX=/home/bloodstalker/llvm/llvm/build/bin/clang++
+CXX=clang++
-CXX_FLAGS=$(shell /home/bloodstalker/llvm/llvm/build/bin/llvm-config --cxxflags)
-#CXX_FLAGS=$(shell llvm-config --cxxflags)
+CXX_FLAGS=$(shell llvm-config --cxxflags)
-EXTRA_CXX_FALGS=-I/home/bloodstalker/llvm/llvm/llvm/tools/clang/include -I/home/bloodstalker/llvm/llvm/build/tools/clang/include
-EXTRA_LD_FLAGS=-v ./tinyxml2/tinyxml2.o
+#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
+EXTRA_LD_FLAGS=-v tinyxml2/tinyxml2.o
LD_FLAGS=-Wl,--start-group -lclangAST -lclangAnalysis -lclangBasic\
-lclangDriver -lclangEdit -lclangFrontend -lclangFrontendTool\
@@ -15,8 +15,7 @@ LD_FLAGS=-Wl,--start-group -lclangAST -lclangAnalysis -lclangBasic\
-lclangRewrite -lclangRewriteFrontend -lclangStaticAnalyzerFrontend\
-lclangStaticAnalyzerCheckers -lclangStaticAnalyzerCore\
-lclangSerialization -lclangToolingCore -lclangTooling -Wl,--end-group
-LD_FLAGS+=$(shell /home/bloodstalker/llvm/llvm/build/bin/llvm-config --ldflags --libs --system-libs)
-#LD_FLAGS+=$(shell llvm-config --ldflags --libs --system-libs)
+LD_FLAGS+=$(shell llvm-config --ldflags --libs --system-libs)
CXX_FLAGS+=$(EXTRA_CXX_FALGS)
LD_FLAGS+=$(EXTRA_LD_FLAGS)