aboutsummaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2016-11-04 05:08:16 +0000
committerbloodstalker <thabogre@gmail.com>2016-11-04 05:08:16 +0000
commit4e212364f57e40eaf9a1a7477233e11794b03dff (patch)
tree6d59676861ad9caabf157d185f86b36178de5127 /makefile
parentnow currectly matches the conditions for ifStmt and SOC (diff)
downloadmutator-4e212364f57e40eaf9a1a7477233e11794b03dff.tar.gz
mutator-4e212364f57e40eaf9a1a7477233e11794b03dff.zip
changed the makefile to build the new source file also.
Diffstat (limited to '')
-rw-r--r--makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/makefile b/makefile
index 1df41ac..707f9a5 100644
--- a/makefile
+++ b/makefile
@@ -7,7 +7,7 @@ CXX_FLAGS=$(shell /home/bloodstalker/llvm/llvm/build/bin/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=
+EXTRA_LD_FLAGS=-v
LD_FLAGS=-Wl,--start-group -lclangAST -lclangAnalysis -lclangBasic\
-lclangDriver -lclangEdit -lclangFrontend -lclangFrontendTool\
@@ -30,11 +30,11 @@ TARGET=mutator
all: $(TARGET)
-.cpp.o:
+.cpp.o: mutator.cpp mutator_aux.cpp mutator_aux.h
$(CXX) $(CXX_FLAGS) -c $< -o $@
-$(TARGET): $(TARGET).o
- $(CXX) $< $(LD_FLAGS) -o $@
+$(TARGET): $(TARGET).o mutator_aux.o
+ $(CXX) $? $(LD_FLAGS) -o $@
clean:
rm -f *.o *~ $(TARGET)