From 4e212364f57e40eaf9a1a7477233e11794b03dff Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Fri, 4 Nov 2016 08:38:16 +0330 Subject: changed the makefile to build the new source file also. --- makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'makefile') 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) -- cgit v1.2.3