ROBChain/Makefile

18 lines
383 B
Makefile
Raw Permalink Normal View History

PYTHON := python3
ifeq (, $(shell which python3))
# if no python3 alias, fall back to `python` and hope it's py3
PYTHON := python
endif
EXPLOIT_DIR := homebrew
EXPLOIT_PATH := $(EXPLOIT_DIR)/exploit.mscsb
2020-02-11 23:13:28 +01:00
homebrew: $(EXPLOIT_PATH)
$(PYTHON) inject.py $<
2020-02-11 23:13:28 +01:00
clean:
rm -r data
$(MAKE) --directory=$(EXPLOIT_DIR) clean
2020-02-11 23:13:28 +01:00
$(EXPLOIT_PATH):
$(MAKE) --directory=$(EXPLOIT_DIR)