mirror of
https://github.com/zeldaret/oot.git
synced 2025-10-19 04:59:53 +00:00
Split ovl_file_choose and ovl_kaleido_scope (#167)
* Split ovl_file_choose and ovl_kaleido_scope * Split ovl_kaleido_scope's rodata/data/bss * fix * fix spec * spec fix * hopefully last spec fix * hopefully last spec fix 2 * fix * Add comments on file boundaries * fix
This commit is contained in:
parent
09d8cc529a
commit
8705d40e54
32 changed files with 1227 additions and 1075 deletions
4
Makefile
4
Makefile
|
@ -183,8 +183,8 @@ build/assets/%.o: assets/%.c
|
|||
build/src/overlays/%.o: src/overlays/%.c
|
||||
$(CC) -c $(CFLAGS) $(MIPS_VERSION) $(OPTFLAGS) -o $@ $^
|
||||
$(CC_CHECK) $^
|
||||
$(ZAP2) bovl -i $@ -cfg $^ --outputpath $(@:.o=_reloc.s)
|
||||
-test -f $(@:.o=_reloc.s) && $(AS) $(ASFLAGS) $(@:.o=_reloc.s) -o $(@:.o=_reloc.o)
|
||||
$(ZAP2) bovl -i $@ -cfg $^ --outputpath $(@D)/$(notdir $(@D))_reloc.s
|
||||
-test -f $(@D)/$(notdir $(@D))_reloc.s && $(AS) $(ASFLAGS) $(@D)/$(notdir $(@D))_reloc.s -o $(@D)/$(notdir $(@D))_reloc.o
|
||||
@$(OBJDUMP) -d $@ > $(@:.o=.s)
|
||||
|
||||
build/src/%.o: src/%.c
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue