diff options
| author | Háčky <hatschky@gmail.com> | 2014-11-21 10:46:12 +0000 |
|---|---|---|
| committer | Háčky <hatschky@gmail.com> | 2014-11-21 10:46:12 +0000 |
| commit | 2375d2c8db10447ae301176a2136bcad4bb42bb0 (patch) | |
| tree | 00ca01a39e7bce0795a10b0c58f33e005ad4ef4c /eonticket/Makefile | |
| parent | 92c6af6c354d58d96d9590efee955e449a8f94c3 (diff) | |
Initial commit
Diffstat (limited to 'eonticket/Makefile')
| -rw-r--r-- | eonticket/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/eonticket/Makefile b/eonticket/Makefile new file mode 100644 index 0000000..86be2c4 --- /dev/null +++ b/eonticket/Makefile @@ -0,0 +1,24 @@ +all: 00-C000.z80 + +%.tx: %.asm + python ../scripts/charmap.py $< $@ + +00-C000.o: 00-C000.tx eonticket.bin + rgbasm -o $@ $< +eonticket.o: eonticket.tx + rgbasm -o $@ $< + +%.gbc: %.o + rgblink -o $@ $< + +# hack to use RGBDS for something other than its intended purpose +00-C000.z80: 00-C000.gbc + dd if=$< of=$@ bs=1 skip=256 count=7074 +# cmp -b ../z80/$@ $@ +eonticket.z80: eonticket.gbc + dd if=$< of=$@ bs=1 skip=256 count=631 +eonticket.bin: eonticket.z80 + python ../scripts/scriptchecksum.py $< $@ + +clean: + rm -f *.tx *.o *.gbc *.z80 *.bin
\ No newline at end of file |
