aboutsummaryrefslogtreecommitdiffstats
path: root/tinyxml2
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2018-08-19 19:36:45 +0000
committerbloodstalker <thabogre@gmail.com>2018-08-19 19:36:45 +0000
commitc0959b173b1358ce8b4e3e02c3cd9166186b1f2e (patch)
tree24f1f8d455847cb184f43427129a2d04f0532ff4 /tinyxml2
parentmakefile updates for obfuscator and bruiser (diff)
downloadmutator-c0959b173b1358ce8b4e3e02c3cd9166186b1f2e.tar.gz
mutator-c0959b173b1358ce8b4e3e02c3cd9166186b1f2e.zip
fixes #47. probably a good idea to just wipe and re-clone. also moved m0 to its own folder.
Diffstat (limited to 'tinyxml2')
-rw-r--r--tinyxml2/makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/tinyxml2/makefile b/tinyxml2/makefile
index 3613b79..fd189dc 100644
--- a/tinyxml2/makefile
+++ b/tinyxml2/makefile
@@ -1,14 +1,19 @@
-######################################INCLUDES#################################
include ../macros.mk
+COV_CXX= -fprofile-instr-generate -fcoverage-mapping
-######################################RULES####################################
-.DEFAULT: tinyxml2
+.DEFAULT: tinyxml2.o
-.PHONY: tinyxml2
+everything: tinyxml2.o tinyxml2.ocov tinyxml2.odbg
tinyxml2.o: tinyxml2.cpp
- $(CXX) $(CXX_FLAGS) -c $< -o $@
+ $(CXX) $(CXX_FLAGS) -c $< -o $@
+
+tinyxml2.odbg: tinyxml2.cpp
+ $(CXX) $(CXX_FLAGS) -g -c $< -o $@
+
+tinyxml2.ocov: tinyxml2.cpp
+ $(CXX) $(CXX_FLAGS) $(COV_CXX) -c $< -o $@
clean:
- rm -f *.o
+ rm -f *.o *.odbg *.ocov