aboutsummaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
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)