1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-22 06:52:03 +00:00

Initial setup for OSX repo support

This commit is contained in:
Ethan Roseman 2020-04-21 17:26:20 -04:00
parent e050319e07
commit 3951872edc
2 changed files with 23 additions and 2 deletions

View file

@ -146,7 +146,7 @@ build/asm/%.o: asm/%.s
$(AS) $(ASFLAGS) $^ -o $@
build/data/%.o: data/%.s
iconv --to EUC-JP $^ | $(AS) $(ASFLAGS) -o $@
iconv --from UTF-8 --to EUC-JP $^ | $(AS) $(ASFLAGS) -o $@
#build/assets/%.o: assets/%.s
# $(AS) $(ASFLAGS) $^ -o $@
@ -172,7 +172,7 @@ build/src/overlays/%.o: src/overlays/%.c
@$(OBJDUMP) -d $@ > $(@:.o=.s)
build/asm/overlays/%.o: asm/overlays/%.s
iconv --to EUC-JP $^ | $(AS) $(ASFLAGS) -o $@
iconv --from UTF-8 --to EUC-JP $^ | $(AS) $(ASFLAGS) -o $@
build/src/%.o: src/%.c
$(CC) -c $(CFLAGS) $(OPTIMIZATION) -o $@ $^