aboutsummaryrefslogtreecommitdiffstats
path: root/tinyxml2/makefile
blob: fd189dcd1481d6211945f72f66da91d98e17f8e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
include ../macros.mk
COV_CXX= -fprofile-instr-generate -fcoverage-mapping

.DEFAULT: tinyxml2.o

everything: tinyxml2.o tinyxml2.ocov tinyxml2.odbg

tinyxml2.o: tinyxml2.cpp
	$(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 *.odbg *.ocov