diff options
author | Bryan Bishop <kanzure@gmail.com> | 2013-08-29 09:51:32 -0700 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2013-08-29 09:51:32 -0700 |
commit | 61dd634698ad3f4e613f9d94b74e5b299dac5da8 (patch) | |
tree | bd7457011ff5489f26aafa061817e2237de371b8 | |
parent | 4f685791c19c01bee21346333c6d78ca92ec2797 (diff) | |
parent | 53d208ce4ce459506ad2de6a6860edbef49f21c4 (diff) |
Merge pull request #169 from kanzure/fail-fast-without-baserom
Fail fast when the baserom.gbc file doesn't exist.
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -19,8 +19,10 @@ pokecrystal.o: $(TEXTFILES:.asm=.tx) wram.asm constants.asm $(shell find constan .asm.tx: $(eval TEXTQUEUE := $(TEXTQUEUE) $<) @rm -f $@ +baserom: + python -c "import os; assert 'baserom.gbc' in os.listdir('.'), 'Wait! Need baserom.gbc first. Check README and INSTALL for details.';" -pokecrystal.gbc: pokecrystal.o +pokecrystal.gbc: baserom pokecrystal.o rgblink -n pokecrystal.sym -m pokecrystal.map -o $@ $< rgbfix -Cjv -i BYTE -k 01 -l 0x33 -m 0x10 -p 0 -r 3 -t PM_CRYSTAL $@ |