aboutsummaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2016-12-15 11:58:17 +0000
committerbloodstalker <thabogre@gmail.com>2016-12-15 11:58:17 +0000
commit524c85717bdb6983c07cc13a271aad66582b7338 (patch)
treebf048dc660329a4c00580a31076939eb9d16e219 /makefile
parentupdated (diff)
downloadmutator-524c85717bdb6983c07cc13a271aad66582b7338.tar.gz
mutator-524c85717bdb6983c07cc13a271aad66582b7338.zip
made it a bit more modular if that makes any sense
Diffstat (limited to 'makefile')
-rw-r--r--makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/makefile b/makefile
index f426dd2..8a2f02f 100644
--- a/makefile
+++ b/makefile
@@ -1,14 +1,11 @@
#######################################VARS####################################
-#CXX=g++
CXX?=clang++
-
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_CONF) --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_CONF) --obj-root)/tools/clang/include -std=c++11
EXTRA_LD_FLAGS=-v tinyxml2/tinyxml2.o
LD_FLAGS=-Wl,--start-group -lclangAST -lclangAnalysis -lclangBasic\
@@ -17,7 +14,7 @@ LD_FLAGS=-Wl,--start-group -lclangAST -lclangAnalysis -lclangBasic\
-lclangRewrite -lclangRewriteFrontend -lclangStaticAnalyzerFrontend\
-lclangStaticAnalyzerCheckers -lclangStaticAnalyzerCore\
-lclangSerialization -lclangToolingCore -lclangTooling -Wl,--end-group
-LD_FLAGS+=$(shell llvm-config --ldflags --libs --system-libs)
+LD_FLAGS+=$(shell $(LLVM_CONF) --ldflags --libs --system-libs)
CXX_FLAGS+=$(EXTRA_CXX_FALGS)
LD_FLAGS+=$(EXTRA_LD_FLAGS)