Add text converter tool (#39)

This commit is contained in:
xCrystal
2024-04-16 10:01:07 +02:00
parent 11a12bfba5
commit 8ecdfab1ac
5 changed files with 198 additions and 9 deletions

View File

@@ -49,12 +49,12 @@ RGBLINK ?= $(RGBDS)rgblink
### Build targets
.SUFFIXES:
.PHONY: all crystal crystal11 crystal_au crystal_debug crystal11_debug clean tidy compare tools
.PHONY: all crystal crystal11 crystal_au crystal_debug crystal11_debug clean tidy compare tools text
.SECONDEXPANSION:
.PRECIOUS:
.SECONDARY:
all: crystal
all: text crystal crystal_debug
crystal: pokecrystal.gbc
crystal11: pokecrystal11.gbc
crystal_au: pokecrystal_au.gbc
@@ -101,6 +101,9 @@ compare: $(roms) $(patches)
tools:
$(MAKE) -C tools/
text:
python3 tools/text.py
RGBASMFLAGS = -Q8 -P includes.asm -Weverything -Wnumeric-string=2 -Wtruncation=1
# Create a sym/map for debug purposes if `make` run with `DEBUG=1`