From c0959b173b1358ce8b4e3e02c3cd9166186b1f2e Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Mon, 20 Aug 2018 00:06:45 +0430 Subject: fixes #47. probably a good idea to just wipe and re-clone. also moved m0 to its own folder. --- tinyxml2/makefile | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'tinyxml2') 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 -- cgit v1.2.3