diff options
| author | stag019 <stag019@gmail.com> | 2012-01-14 15:36:00 -0500 |
|---|---|---|
| committer | stag019 <stag019@gmail.com> | 2012-01-14 15:36:00 -0500 |
| commit | dc667fb75a6c77a35263be9578cd90d84117f667 (patch) | |
| tree | 5710d815797ce34843e2f9a33e9c2848cc569371 /Makefile | |
| parent | 1113f19b183ec8c72e81379f4c80b11a12c4a551 (diff) | |
Another attempt at splitting Red/Blue versions.
hg-commit-id: bd7cb987f964
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 17 |
1 files changed, 13 insertions, 4 deletions
@@ -5,8 +5,11 @@ TEXTFILES = text/oakspeech.tx text/pokedex.tx text/mapRedsHouse1F.tx \ all: pokered.gbc -pokered.o: pokered.tx constants.asm ${TEXTFILES} - rgbasm -o pokered.o pokered.tx +pokered.o: pokered.asm common.tx constants.asm ${TEXTFILES} + rgbasm -o pokered.o pokered.asm + +pokeblue.o: pokeblue.asm common.tx constants.asm ${TEXTFILES} + rgbasm -o pokeblue.o pokeblue.asm redrle: extras/redrle.c ${CC} -o $@ $> @@ -14,10 +17,16 @@ redrle: extras/redrle.c .asm.tx: awk -f textpre.awk < $< > $@ -.o.gbc: +pokered.gbc: pokered.o rgblink -o $@ $< rgbfix -jsv -k 01 -l 0x33 -m 0x13 -p 0 -r 03 -t "POKEMON RED" $@ cmp baserom.gbc $@ + +pokeblue.gbc: pokeblue.o + rgblink -o $@ $< + rgbfix -jsv -k 01 -l 0x33 -m 0x13 -p 0 -r 03 -t "POKEMON BLUE" $@ clean: - rm -f pokered.tx pokered.o pokered.gbc redrle ${TEXTFILES} + rm -f common.tx pokered.o pokered.gbc pokeblue.o pokeblue.gbc redrle ${TEXTFILES} + +more: pokered.gbc pokeblue.gbc
\ No newline at end of file |
