diff options
author | bloodstalker <thabogre@gmail.com> | 2016-12-14 20:39:40 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2016-12-14 20:39:40 +0000 |
commit | ac79974c567ec6d6a73a07b5d663eb540e57558d (patch) | |
tree | d95e63e3767689cb354cbb55a35112b7cf9ec176 | |
parent | fixed the build script. (diff) | |
download | mutator-ac79974c567ec6d6a73a07b5d663eb540e57558d.tar.gz mutator-ac79974c567ec6d6a73a07b5d663eb540e57558d.zip |
now the user will just have to run it
-rw-r--r-- | makefile | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -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) |