aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser/makefile
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2018-09-16 17:47:36 +0000
committerbloodstalker <thabogre@gmail.com>2018-09-16 17:47:36 +0000
commit46e361aa3c52368d09f41028e1359d58fba80aee (patch)
tree2063762651987457280282fdd98b267edaa200d1 /bruiser/makefile
parent[skip ci] (diff)
downloadmutator-46e361aa3c52368d09f41028e1359d58fba80aee.tar.gz
mutator-46e361aa3c52368d09f41028e1359d58fba80aee.zip
[skip ci]
Diffstat (limited to '')
-rw-r--r--bruiser/makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/bruiser/makefile b/bruiser/makefile
index 8b23606..3b7b2ae 100644
--- a/bruiser/makefile
+++ b/bruiser/makefile
@@ -145,20 +145,22 @@ linenoise.ocov: ./linenoise/linenoise.c
$(LIB_LUA):
$(MAKE) -C lua-5.3.4/src linux
+CODE_GEN: $(FT_WASM_A) $(LTG_WASM_A)
+
$(FT_WASM_SO): ./autogen/wasm/ft/wasm.xml
- @$(shell if [[ $$(ls -l ./autogen/wasm/ft/ | wc -l) == 4 ]];then ./autogen/wasm/ft.sh;else :;fi)
+ - $(shell if [[ $$(ls -l ./autogen/wasm/ft/ | wc -l) == 4 ]];then ./autogen/wasm/ft.sh;else :;fi)
$(MAKE) -C ./autogen/wasm/ft SO
$(FT_WASM_A): ./autogen/wasm/ft/wasm.xml
- @$(shell if [[ $$(ls -l ./autogen/wasm/ft/ | wc -l) == 4 ]];then ./autogen/wasm/ft.sh;else :;fi)
+ - $(shell if [[ $$(ls -l ./autogen/wasm/ft/ | wc -l) == 4 ]];then ./autogen/wasm/ft.sh;else :;fi)
$(MAKE) -C ./autogen/wasm/ft A
$(LTG_WASM_SO): ./autogen/wasm/ltg/wasm.xml
- @$(shell if [[ $$(ls -l ./autogen/wasm/ltg/ | wc -l) == 3 ]];then ./autogen/wasm/ltg.sh;else :;fi)
+ - $(shell if [[ $$(ls -l ./autogen/wasm/ltg/ | wc -l) == 3 ]];then ./autogen/wasm/ltg.sh;else :;fi)
$(MAKE) -C ./autogen/wasm/ltg SO
$(LTG_WASM_A): ./autogen/wasm/ltg/wasm.xml
- @$(shell if [[ $$(ls -l ./autogen/wasm/ltg/ | wc -l) == 3 ]];then ./autogen/wasm/ltg.sh;else :;fi)
+ - $(shell if [[ $$(ls -l ./autogen/wasm/ltg/ | wc -l) == 3 ]];then ./autogen/wasm/ltg.sh;else :;fi)
$(MAKE) -C ./autogen/wasm/ltg A
%.odbg:%.cpp
@@ -167,7 +169,7 @@ $(LTG_WASM_A): ./autogen/wasm/ltg/wasm.xml
%.ocov:%.cpp
$(CXX) $(CXX_FLAGS) $(COV_CXX) -c $< -o $@
-$(TARGET): $(FT_WASM_A) $(LTG_WASM_A) $(TARGET).o ../m0/mutator_aux.o ../tinyxml2/tinyxml2.o linenoise.o CompletionHints.o mutagen.o ORCmutation.o bruiserffi.o asmrewriter.o bruisercapstone.o ramdump.o ffs.o $(LIB_LUA)
+$(TARGET): CODE_GEN $(TARGET).o $(FT_WASM_A) $(LTG_WASM_A) ../m0/mutator_aux.o ../tinyxml2/tinyxml2.o linenoise.o CompletionHints.o mutagen.o ORCmutation.o bruiserffi.o asmrewriter.o bruisercapstone.o ramdump.o ffs.o $(LIB_LUA)
$(CXX) $^ $(LD_FLAGS) -o $@
# currently broken since it needs a static libpython