aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Harding <corrnondacqb@yahoo.com>2017-09-29 13:55:59 -0500
committerGitHub <noreply@github.com>2017-09-29 13:55:59 -0500
commit056e91feebe62786d0e19424f6753c7ae97f63f0 (patch)
tree11901dea1da7e8dfd2d18342bda340f48c3f3022 /Makefile
parentMerge pull request #26 from Pokechu22/mnemonic-warnings (diff)
parentChange stack positioning to not use a negative offset (diff)
downloadpokeyellow-056e91feebe62786d0e19424f6753c7ae97f63f0.tar.gz
pokeyellow-056e91feebe62786d0e19424f6753c7ae97f63f0.tar.xz
pokeyellow-056e91feebe62786d0e19424f6753c7ae97f63f0.zip
Merge pull request #27 from Pokechu22/rgbds-0.3.3
Update code for rgbds 0.3.3
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3447dda6..ff54c247 100644
--- a/Makefile
+++ b/Makefile
@@ -44,8 +44,9 @@ $(objs): %.o: %.asm $$(%_dep)
opts = -cjsv -k 01 -l 0x33 -m 0x1b -p 0 -r 03 -t "POKEMON YELLOW"
$(rom): $(objs)
- rgblink -n $*.sym -o $@ $^
+ rgblink -n $*.sym -l linkerscript.link -o $@ $^
rgbfix $(opts) $@
+ sort $(rom:.gbc=.sym) -o $(rom:.gbc=.sym)
%.png: ;
%.2bpp: %.png ; @$(2bpp) $<