From f806ebd436eef4fb3a3fc15fe6194dce08e59e9a Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Mon, 26 Dec 2016 22:58:32 +0330 Subject: now calls the tinyxml2 makefile the same way as it is called, also uses tinyxml2's clean --- makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'makefile') diff --git a/makefile b/makefile index 919a2b1..0715e9d 100644 --- a/makefile +++ b/makefile @@ -82,7 +82,7 @@ all: $(TARGET) $(TARGET2) $(TARGET0) .cpp.o: $(CXX) $(CXX_FLAGS) -c $< -o $@ - $(MAKE) -C tinyxml2 + $(MAKE) -C tinyxml2 CXX=$(CXX) LLVM_CONF=$(LLVM_CONF) BUILD_MODE=$(BUILD_MODE) $(TARGET): $(TARGET).o mutator_aux.o $(CXX) $^ $(LD_FLAGS) -o $@ @@ -94,7 +94,8 @@ $(TARGET0): $(TARGET0).o mutator_aux.o $(CXX) $^ $(LD_FLAGS) -o $@ clean: - rm -f *.o *~ $(TARGET0) $(TARGET) $(TARGET2) + rm -f *.o *~ $(TARGET0) $(TARGET) $(TARGET2) + $(MAKE) -C tinyxml2 clean help: @echo '- There is help.' -- cgit v1.2.3