From f3340de6dc30fb1c889421bdb8a3d22c1b64fa24 Mon Sep 17 00:00:00 2001 From: yenatch Date: Tue, 18 Jun 2013 21:54:40 -0400 Subject: [PATCH] make clean is no longer required to compile --- INSTALL.md | 8 ++++---- Makefile | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) 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 < $< > $@