mirror of
https://github.com/wiiu-env/ROBChain.git
synced 2024-11-17 16:19:25 +01:00
18 lines
383 B
Makefile
18 lines
383 B
Makefile
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
|
|
|
|
homebrew: $(EXPLOIT_PATH)
|
|
$(PYTHON) inject.py $<
|
|
|
|
clean:
|
|
rm -r data
|
|
$(MAKE) --directory=$(EXPLOIT_DIR) clean
|
|
|
|
$(EXPLOIT_PATH):
|
|
$(MAKE) --directory=$(EXPLOIT_DIR)
|