Add linkerscript

Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
This commit is contained in:
Antonio Niño Díaz 2017-06-09 22:34:50 +01:00
parent e9f33ce19c
commit 7f3517b8d1
2 changed files with 177 additions and 1 deletions

View file

@ -44,7 +44,7 @@ pokered_opt = -jsv -k 01 -l 0x33 -m 0x13 -p 0 -r 03 -t "POKEMON RED"
pokeblue_opt = -jsv -k 01 -l 0x33 -m 0x13 -p 0 -r 03 -t "POKEMON BLUE"
%.gbc: $$(%_obj)
rgblink -n $*.sym -o $@ $^
rgblink -n $*.sym -l linkerscript.link -o $@ $^
rgbfix $($*_opt) $@
%.png: ;