aboutsummaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2016-12-26 19:28:32 +0000
committerbloodstalker <thabogre@gmail.com>2016-12-26 19:28:32 +0000
commitf806ebd436eef4fb3a3fc15fe6194dce08e59e9a (patch)
treedb67528c1a1e3f53f70943debe1c29b76bef012d /makefile
parentadded tdd tests for 16.7 (diff)
downloadmutator-f806ebd436eef4fb3a3fc15fe6194dce08e59e9a.tar.gz
mutator-f806ebd436eef4fb3a3fc15fe6194dce08e59e9a.zip
now calls the tinyxml2 makefile the same way as it is called, also uses tinyxml2's clean
Diffstat (limited to '')
-rw-r--r--makefile5
1 files changed, 3 insertions, 2 deletions
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.'