diff --git a/INSTALL.md b/INSTALL.md index 76a4d7dad..83ad97564 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -82,8 +82,8 @@ git config diff.hex.textconv hexdump ``` Now you should be able to build **pokecrystal.gbc** for the first time. -``` -make clean && make +```bash +make ``` This ought to take between **3 and 15 seconds**, depending on your computer. @@ -123,8 +123,8 @@ git config diff.hex.textconv hexdump ``` To compile the rom from asm source: -``` -make clean && make +```bash +make ``` That will take between 3 and 15 seconds, depending on your computer. If you see `cmp baserom.gbc pokecrystal.gbc` as the last line, the build was successful! Rejoice! diff --git a/Makefile b/Makefile index 15fa7f5c1..eb75fad6a 100644 --- a/Makefile +++ b/Makefile @@ -22,6 +22,10 @@ clean: pokecrystal.o: pokecrystal.asm constants.asm wram.asm ${TEXTFILES} lzs rgbasm -o pokecrystal.o pokecrystal.asm +pokecrystal.asm: depend +depend: + @touch main.asm + .asm.tx: python preprocessor.py < $< > $@