make compare

This commit is contained in:
yenatch 2015-03-11 22:37:36 -07:00
parent 074184c31c
commit a09903a2a4
2 changed files with 5 additions and 0 deletions

View File

@ -1,4 +1,5 @@
PYTHON := python PYTHON := python
MD5 := md5sum -c --quiet
.SUFFIXES: .SUFFIXES:
.SUFFIXES: .asm .o .gbc .png .2bpp .1bpp .lz .pal .bin .blk .tilemap .SUFFIXES: .asm .o .gbc .png .2bpp .1bpp .lz .pal .bin .blk .tilemap
@ -56,6 +57,8 @@ crystal: pokecrystal.gbc
clean: clean:
rm -f $(roms) $(all_obj) $(roms:.gbc=.map) $(roms:.gbc=.sym) rm -f $(roms) $(all_obj) $(roms:.gbc=.map) $(roms:.gbc=.sym)
compare: pokecrystal.gbc pokecrystal11.gbc
@$(MD5) roms.md5
%.asm: ; %.asm: ;
$(all_obj): $$*.asm $$($$*_dep) $(all_obj): $$*.asm $$($$*_dep)

2
roms.md5 Normal file
View File

@ -0,0 +1,2 @@
9f2922b235a5eeb78d65594e82ef5dde pokecrystal.gbc
301899b8087289a6436b0a241fbbb474 pokecrystal11.gbc