shithub: pokecrystal

Download patch

ref: 967977b7af6d2079f2fde6d151e6e1f9f9b34077
parent: 75ba97a039796bbecf1390edbe71c73dc52f124f
author: yenatch <yenatch@gmail.com>
date: Wed Mar 11 18:25:54 EDT 2015

baserom.gbc is no longer required to build

--- a/INSTALL.md
+++ b/INSTALL.md
@@ -10,8 +10,6 @@
 	git clone --recursive git://github.com/kanzure/pokecrystal.git
 	cd pokecrystal
 
-- Copy a Pokémon Crystal rom into `pokecrystal/`. Name it **baserom.gbc**. Eventually this will not be required.
-
 To build **pokecrystal.gbc**:
 
 	make
@@ -35,8 +33,6 @@
 	git clone --recursive git://github.com/kanzure/pokecrystal.git
 	cd pokecrystal
 
-- Copy a Pokémon Crystal rom into `pokecrystal/`. Name it **baserom.gbc**. Eventually this will not be required.
-
 To build **pokecrystal.gbc**:
 
 	make
@@ -56,8 +52,6 @@
 	git clone --recursive git://github.com/kanzure/pokecrystal.git
 	cd pokecrystal
 
-- Copy a Pokémon Crystal rom into `C:\cygwin\home\<username>\pokecrystal`. Name it **baserom.gbc**. Eventually this will not be required.
-
 To build:
 
 	make
@@ -91,7 +85,3 @@
 
 	cd /vagrant/pokecrystal
 	make
-
-To make the build work you will need to copy baserom.gbc into the "pokecrystal"
-directory inside the "virtualbox" directory on the host machine. Eventually
-this will not be required.
--- a/Makefile
+++ b/Makefile
@@ -56,10 +56,7 @@
 clean:
 	rm -f $(roms) $(all_obj) $(roms:.gbc=.map) $(roms:.gbc=.sym)
 
-baserom.gbc: ;
-	@echo "Wait! Need baserom.gbc first. Check README and INSTALL for details." && false
 
-
 %.asm: ;
 $(all_obj): $$*.asm $$($$*_dep)
 	@$(gfx) 2bpp $(2bppq); $(eval 2bppq :=)
@@ -70,12 +67,10 @@
 pokecrystal11.gbc: $(crystal11_obj)
 	rgblink -n $*.sym -m $*.map -o $@ $^
 	rgbfix -Cjv -i BYTE -k 01 -l 0x33 -m 0x10 -n 1 -p 0 -r 3 -t PM_CRYSTAL $@
-	cmp crystal11.gbc $@
 
 pokecrystal.gbc: $(crystal_obj)
 	rgblink -n $*.sym -m $*.map -o $@ $^
 	rgbfix -Cjv -i BYTE -k 01 -l 0x33 -m 0x10 -p 0 -r 3 -t PM_CRYSTAL $@
-	cmp baserom.gbc $@
 
 
 pngs: