1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-12-28 07:46:18 +00:00

Makefile machinery work

This commit is contained in:
Ethan Roseman 2020-04-21 00:59:59 -04:00
parent aecf375b84
commit 469058e363
3 changed files with 8 additions and 1 deletions

View file

@ -132,7 +132,7 @@ clean:
setup:
git submodule update --init --recursive
make -C tools
make ido7 all -C tools
python3 fixbaserom.py
python3 extract_baserom.py
python3 extract_assets.py

View file

@ -7,6 +7,8 @@ import hashlib
# Determine if we have a ROM file
romFileName = ""
if (path.exists("baserom.z64")):
romFileName = "baserom.z64"
if (path.exists("baserom_original.z64")):
romFileName = "baserom_original.z64"
elif (path.exists("baserom_original.n64")):

View file

@ -25,3 +25,8 @@ $(1): $($1_SOURCES)
endef
$(foreach p,$(PROGRAMS),$(eval $(call COMPILE,$(p))))
ido7:
wget -O ido7.zip https://github.com/zeldaret/oot/releases/download/0.1/ido7.1_fixed.zip
unzip -n ido7.zip
rm ido7.zip