summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-23 22:00:59 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-23 23:49:17 -0400
commit2c5055f6104f5e7c5b9aabff1c9df26afa4e7021 (patch)
treeff5ef80e1f2517318f1765bba06cada811dad3f2 /Makefile
parentdd369f3199f6790bfff142754a8f0507a17e3276 (diff)
Generate the Stadium 2 checksum data with pfero's tool instead of raw INCBINs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e791012a0..d940b1592 100644
--- a/Makefile
+++ b/Makefile
@@ -116,9 +116,16 @@ pokecrystal_au_opt = -Cjv -t PM_CRYSTAL -i BYTU -n 0 -k 01 -l 0x33 -m 0x10
pokecrystal_debug_opt = -Cjv -t PM_CRYSTAL -i BYTE -n 0 -k 01 -l 0x33 -m 0x10 -r 3 -p 0
pokecrystal11_debug_opt = -Cjv -t PM_CRYSTAL -i BYTE -n 1 -k 01 -l 0x33 -m 0x10 -r 3 -p 0
+pokecrystal_base = us
+pokecrystal11_base = us
+pokecrystal_au_base = us
+pokecrystal_debug_base = dbg
+pokecrystal11_debug_base = dbg
+
%.gbc: $$(%_obj) layout.link
$(RGBLINK) -n $*.sym -m $*.map -l layout.link -o $@ $(filter %.o,$^)
$(RGBFIX) $($*_opt) $@
+ tools/stadium --base $($*_base) $@
### LZ compression rules