aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAstatin <[email protected]>2025-09-03 14:27:00 +0200
committerAstatin <[email protected]>2025-09-03 14:27:00 +0200
commita893988c10736d324330fbdcacabd6ac862500e1 (patch)
tree41b5b85a90489803e1319fe8049fc765f341d33b /Makefile
parenta1b6da7fa43627a08b8bc75a48805ec96fc77583 (diff)
Add a post assembly script to round up ROM size (fixes ROM banking on some emulator)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c5af677..e038331 100644
--- a/Makefile
+++ b/Makefile
@@ -24,6 +24,7 @@ map/maps.gbasm: $(subst .ldtk,.map.gbasm,$(wildcard ./map/maps/*.ldtk))
build/main.rom: build/main.rom.unsigned
cp build/main.rom.unsigned build/main.rom
python scripts/set_checksums.py build/main.rom
+ python scripts/round-rom-size.py build/main.rom
build/main.rom.unsigned: main.gbasm tileset.gbasm text.gbasm dialogues/text.gbasm map/maps.gbasm $(wildcard ./*.gbasm) $(wildcard ./**/*.gbasm) $(wildcard ./**/**/*.gbasm) $(wildcard ./music/*.vgm)
mkdir -p build