diff options
Diffstat (limited to 'tinyxml2')
-rw-r--r-- | tinyxml2/makefile | 17 |
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 |