diff options
author | bloodstalker <thabogre@gmail.com> | 2018-09-16 15:19:31 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2018-09-16 15:19:31 +0000 |
commit | 82a3deb3ce19e728d5bafd59e58ed2eb6419b0ef (patch) | |
tree | e7aba1a0d12ce1319fbb512777e875cb0970bb63 /bruiser/autogen/wasm/ft/makefile | |
parent | begenning to integrate and test both the codegens. run git pull for faultreib... (diff) | |
download | mutator-82a3deb3ce19e728d5bafd59e58ed2eb6419b0ef.tar.gz mutator-82a3deb3ce19e728d5bafd59e58ed2eb6419b0ef.zip |
WIP
Diffstat (limited to 'bruiser/autogen/wasm/ft/makefile')
-rw-r--r-- | bruiser/autogen/wasm/ft/makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/bruiser/autogen/wasm/ft/makefile b/bruiser/autogen/wasm/ft/makefile index 86f0a6b..be67649 100644 --- a/bruiser/autogen/wasm/ft/makefile +++ b/bruiser/autogen/wasm/ft/makefile @@ -53,7 +53,7 @@ LD_FLAGS+=$(EXTRA_LD_FLAGS) .PHONY:all clean help ASM SO TAGS -all:$(TARGET) +all:$(TARGET) $(TARGET)-dbg everything:$(TARGET) A ASM SO $(TARGET)-static $(TARGET)-dbg TAGS $(TARGET)-cov @@ -82,10 +82,10 @@ $(TARGET): $(TARGET).o read.o aggregate.o structs.o $(TARGET)-static: $(TARGET).o read.o aggregate.o structs.o $(CC) $^ $(LD_FLAGS) -static -o $@ -$(TARGET)-dbg: $(TARGET).odbg read.o aggregate.o structs.o +$(TARGET)-dbg: $(TARGET).odbg read.odbg aggregate.odbg structs.odbg $(CC) $^ $(LD_FLAGS) -g -o $@ -$(TARGET)-cov: $(TARGET).ocov read.o aggregate.o structs.o +$(TARGET)-cov: $(TARGET).ocov read.ocov aggregate.ocov structs.ocov $(CC) $^ $(LD_FLAGS) $(COV_LD) -o $@ cov: @@ -116,7 +116,13 @@ $(TARGET).so: $(TARGET).o read.o aggregate.o structs.o $(CC) $^ $(LD_FLAGS) -shared -o $@ $(TARGET).a: $(TARGET).o read.o aggregate.o structs.o - ar rcs $(TARGET).a $(TARGET).o + ar rcs $(TARGET).a $(TARGET).o read.o aggregate.o structs.o + +valgrind: $(TARGET) + valgrind --leak-check=yes $(TARGET) + +test: $(TARGET) + $(TARGET) clean: rm -f *.o *.dis *.odbg *.ocov *~ $(TARGET) $(TARGET).so $(TARGET)-static $(TARGET)-dbg $(TARGET).a $(TARGET)-cov |