summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorjdflyer <jdflyer10@gmail.com>2022-01-17 20:00:12 -0700
committerjdflyer <jdflyer10@gmail.com>2022-01-17 20:00:12 -0700
commitecc987f34cff6397e9785063effcc5f2e7dc33c5 (patch)
treef313955fb3df6bdf6437a1d6b902797710fec6d0 /Makefile
parent824a9eabc9e54bb5f5c6318fe0eb7e62aff2173c (diff)
Hyrule field speedhack and shiftability fixes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 63fed2bb70..fa8b99b94d 100644
--- a/Makefile
+++ b/Makefile
@@ -144,9 +144,11 @@ $(ELF_SHIFT): $(DOL)
@echo $(O_FILES) > build/o_files
@$(PYTHON) tools/lcf.py dol_shift --output $(LDSCRIPT)
$(LD) -application $(LDFLAGS) -o $@ -lcf $(LDSCRIPT) @build/o_files $(LIBS)
+ @cp -v $(ELF_SHIFT) $(ELF)
$(DOL_SHIFT): $(ELF_SHIFT) | tools
$(ELF2DOL) $< $@ $(SDATA_PDHR) $(SBSS_PDHR) $(TARGET_COL)
+ @cp -v $(DOL_SHIFT) $(DOL)
shift: dirs $(DOL_SHIFT)