make clean is no longer required to compile

This commit is contained in:
yenatch 2013-06-18 21:54:40 -04:00
parent 4577af01de
commit f3340de6dc
2 changed files with 8 additions and 4 deletions

View File

@ -82,8 +82,8 @@ git config diff.hex.textconv hexdump
``` ```
Now you should be able to build **pokecrystal.gbc** for the first time. Now you should be able to build **pokecrystal.gbc** for the first time.
``` ```bash
make clean && make make
``` ```
This ought to take between **3 and 15 seconds**, depending on your computer. 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: To compile the rom from asm source:
``` ```bash
make clean && make 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! 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!

View File

@ -22,6 +22,10 @@ clean:
pokecrystal.o: pokecrystal.asm constants.asm wram.asm ${TEXTFILES} lzs pokecrystal.o: pokecrystal.asm constants.asm wram.asm ${TEXTFILES} lzs
rgbasm -o pokecrystal.o pokecrystal.asm rgbasm -o pokecrystal.o pokecrystal.asm
pokecrystal.asm: depend
depend:
@touch main.asm
.asm.tx: .asm.tx:
python preprocessor.py < $< > $@ python preprocessor.py < $< > $@