Skip to content

Commit

Permalink
Prepare to build Pokemon Forever as well
Browse files Browse the repository at this point in the history
  • Loading branch information
JustRegularLuna committed Nov 24, 2015
1 parent 9e71770 commit 48faec2
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# Build Red/Blue. Yellow is WIP.
roms := pokered.gbc pokeblue.gbc
roms := pokered.gbc pokeblue.gbc pokeforever.gbc


.PHONY: all clean red blue yellow compare
.PHONY: all clean red blue forever yellow compare

all: $(roms)
red: pokered.gbc
blue: pokeblue.gbc
yellow: pokeyellow.gbc
forever:pokeforever.gbc

versions := red blue yellow
versions := red blue forever yellow


# Header options for rgbfix.
Expand All @@ -18,6 +19,7 @@ cgb_opt = -cjsv -k 01 -l 0x33 -m 0x1b -p 0 -r 03

red_opt = $(dmg_opt) -t "POKEMON RED"
blue_opt = $(dmg_opt) -t "POKEMON BLUE"
forever_opt= $(dmg_opt) -t "POKEMON FOREVER"
yellow_opt = $(cgb_opt) -t "POKEMON YELLOW"


Expand All @@ -32,7 +34,7 @@ MD5 := md5sum -c --quiet
# The compare target is a shortcut to check that the build matches the original roms exactly.
# This is for contributors to make sure a change didn't affect the contents of the rom.
# More thorough comparison can be made by diffing the output of hexdump -C against both roms.
compare: red blue
compare: red blue forever
@$(MD5) roms.md5


Expand Down
2 changes: 2 additions & 0 deletions forever.asm
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
_FOREVER EQU 1
INCLUDE "charmap.asm"
2 changes: 2 additions & 0 deletions forever/audio.asm
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
INCLUDE "forever.asm"
INCLUDE "audio.asm"
2 changes: 2 additions & 0 deletions forever/main.asm
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
INCLUDE "forever.asm"
INCLUDE "main.asm"
2 changes: 2 additions & 0 deletions forever/text.asm
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
INCLUDE "forever.asm"
INCLUDE "text.asm"
2 changes: 2 additions & 0 deletions forever/wram.asm
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
INCLUDE "forever.asm"
INCLUDE "wram.asm"

0 comments on commit 48faec2

Please sign in to comment.