summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2017-08-25 08:24:37 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2017-08-25 08:24:37 -0400
commit3ede05f2b7dfa8e05f5376dc9f383ffbadd4d3d1 (patch)
tree413103c42b31f26e8fe2dc0996db38739fb7c377 /Makefile
parentd2e3b286a4ac5530b299fe7fc0530df734584bb3 (diff)
Create linkerscript
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 93a6c8ea..c05d7d8b 100644
--- a/Makefile
+++ b/Makefile
@@ -41,11 +41,11 @@ compare: pokegold.gbc pokesilver.gbc
rgbasm -D SILVER -o $@ $<
pokegold.gbc: $(gold_obj)
- rgblink -n pokegold.sym -m pokegold.map -o $@ $^
+ rgblink -n pokegold.sym -m pokegold.map -l pokegold.ld -o $@ $^
rgbfix -cjsv -i AAUE -k 01 -l 0x33 -m 0x10 -p 0 -r 3 -t "POKEMON_GLD" $@
pokesilver.gbc: $(silver_obj)
- rgblink -n pokesilver.sym -m pokesilver.map -o $@ $^
+ rgblink -n pokesilver.sym -m pokesilver.map -l pokegold.ld -o $@ $^
rgbfix -cjsv -i AAXE -k 01 -l 0x33 -m 0x10 -p 0 -r 3 -t "POKEMON_SLV" $@
pngs: