diff options
author | bloodstalker <thabogre@gmail.com> | 2018-08-19 19:36:45 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2018-08-19 19:36:45 +0000 |
commit | c0959b173b1358ce8b4e3e02c3cd9166186b1f2e (patch) | |
tree | 24f1f8d455847cb184f43427129a2d04f0532ff4 /json | |
parent | makefile updates for obfuscator and bruiser (diff) | |
download | mutator-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 'json')
-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 |