diff options
Diffstat (limited to '')
| -rw-r--r-- | json/makefile | 19 | 
1 files changed, 11 insertions, 8 deletions
| diff --git a/json/makefile b/json/makefile index 9f02064..15e3604 100644 --- a/json/makefile +++ b/json/makefile @@ -1,16 +1,19 @@ -######################################INCLUDES#################################  include ../macros.mk +COV_CXX= -fprofile-instr-generate -fcoverage-mapping -############################################################################### +.DEFAULT: json.o -####################################RULES###################################### -.DEFAULT: json - -.PHONY: json +everything: json.o json.ocov json.odbg  json.o: json.hpp -	$(CXX) $(CXX_FLAGS) -c $< -o $@	 +	$(CXX) $(CXX_FLAGS) -x c++ -c $< -o $@ + +json.odbg: json.hpp +	$(CXX) $(CXX_FLAGS) -x c++ -g -c $< -o $@ + +json.ocov: json.hpp +	$(CXX) $(CXX_FLAGS) $(COV_CXX) -x c++ -c $< -o $@  clean: -	rm -f *.o +	rm -f *.o *.odbg *.ocov | 
