summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2013-06-18 21:54:40 -0400
committeryenatch <yenatch@gmail.com>2013-06-18 22:39:13 -0400
commitf3340de6dc30fb1c889421bdb8a3d22c1b64fa24 (patch)
treecec2afcf98f5936909db8f1de13fae990dc0a4c1
parent4577af01deccd9d66d9e236c24ed7cb9e6e3430a (diff)
make clean is no longer required to compile
-rw-r--r--INSTALL.md8
-rw-r--r--Makefile4
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 < $< > $@