summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorIIMarckus <iimarckus@gmail.com>2011-12-16 23:54:36 -0700
committerIIMarckus <iimarckus@gmail.com>2011-12-16 23:54:36 -0700
commitc21c0d45b35ff069df9033624f319ab1f2019294 (patch)
treeb13b9fb06f15b22cb1c1e63660135257183fb8bd /Makefile
parenteb83f10dd4d21764f86f7dc32d953fcb3c927508 (diff)
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 1df0631d..373fb291 100644
--- a/Makefile
+++ b/Makefile
@@ -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