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:
parent
aecf375b84
commit
469058e363
3 changed files with 8 additions and 1 deletions
|
@ -132,7 +132,7 @@ clean:
|
||||||
|
|
||||||
setup:
|
setup:
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
make -C tools
|
make ido7 all -C tools
|
||||||
python3 fixbaserom.py
|
python3 fixbaserom.py
|
||||||
python3 extract_baserom.py
|
python3 extract_baserom.py
|
||||||
python3 extract_assets.py
|
python3 extract_assets.py
|
|
@ -7,6 +7,8 @@ import hashlib
|
||||||
|
|
||||||
# Determine if we have a ROM file
|
# Determine if we have a ROM file
|
||||||
romFileName = ""
|
romFileName = ""
|
||||||
|
if (path.exists("baserom.z64")):
|
||||||
|
romFileName = "baserom.z64"
|
||||||
if (path.exists("baserom_original.z64")):
|
if (path.exists("baserom_original.z64")):
|
||||||
romFileName = "baserom_original.z64"
|
romFileName = "baserom_original.z64"
|
||||||
elif (path.exists("baserom_original.n64")):
|
elif (path.exists("baserom_original.n64")):
|
||||||
|
|
|
@ -25,3 +25,8 @@ $(1): $($1_SOURCES)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(foreach p,$(PROGRAMS),$(eval $(call COMPILE,$(p))))
|
$(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
|
||||||
|
|
Loading…
Reference in a new issue