Add a text preprocessor, so that we can enter strings in db commands.

Depending on how well this works, it may be removed later. Hopefully not.

hg-commit-id: d244e025471f
This commit is contained in:
IIMarckus 2011-12-16 23:54:36 -07:00
parent eb83f10dd4
commit c21c0d45b3
2 changed files with 108 additions and 3 deletions

View file

@ -4,11 +4,14 @@ pokered.gbc: pokered.o
pokered.gbc
cmp baserom.gbc pokered.gbc
pokered.o: pokered.asm constants.asm
rgbasm -o pokered.o pokered.asm
pokered.o: pokered1.asm constants.asm
rgbasm -o pokered.o pokered1.asm
pokered1.asm: pokered.asm
awk -f textpre.awk < pokered.asm > pokered1.asm
redrle: extras/redrle.c
${CC} -o $@ $>
clean:
rm -f pokered.o pokered.gbc redrle
rm -f pokered1.asm pokered.o pokered.gbc redrle