You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Use SHA1 to compare roms
This commit is contained in:
8
Makefile
8
Makefile
@@ -1,4 +1,8 @@
|
||||
MD5 := md5sum -c
|
||||
ifeq (,$(shell which sha1sum))
|
||||
SHA1 := shasum
|
||||
else
|
||||
SHA1 := sha1sum
|
||||
endif
|
||||
|
||||
.SUFFIXES:
|
||||
.PHONY: all clean tools compare crystal crystal11
|
||||
@@ -36,7 +40,7 @@ clean:
|
||||
rm -f $(roms) $(crystal_obj) $(crystal11_obj) $(roms:.gbc=.map) $(roms:.gbc=.sym)
|
||||
|
||||
compare: $(roms)
|
||||
@$(MD5) roms.md5
|
||||
@$(SHA1) -c roms.sha1
|
||||
|
||||
tools:
|
||||
make -C tools/
|
||||
|
Reference in New Issue
Block a user