diff options
-rw-r--r-- | Makefile | 9 | ||||
-rw-r--r-- | roms.md5 | 2 | ||||
-rw-r--r-- | roms.sha1 | 2 |
3 files changed, 9 insertions, 4 deletions
@@ -15,7 +15,12 @@ OBJS += $(BUILD)/shim.o ### Build tools -MD5 := md5sum -c +ifeq (,$(shell which sha1sum)) +SHA1 := shasum +else +SHA1 := sha1sum +endif + PYTHON := python3 RGBDS ?= @@ -41,7 +46,7 @@ all: $(ROM) $(CORRECTEDROM) compare .PHONY: compare compare: $(ROM) $(CORRECTEDROM) - $(MD5) roms.md5 + @$(SHA1) -c roms.sha1 .PHONY: tools tools tools/pkmncompress tools/gfx tools/scan_includes: diff --git a/roms.md5 b/roms.md5 deleted file mode 100644 index 36316f4..0000000 --- a/roms.md5 +++ /dev/null @@ -1,2 +0,0 @@ -2eadbed83b775c097ff79e5128d1184f *pokegold-spaceworld.gb -8e509301f6db1f89fee85aead8ebf8d4 *pokegold-spaceworld-correctheader.gb diff --git a/roms.sha1 b/roms.sha1 new file mode 100644 index 0000000..feaa902 --- /dev/null +++ b/roms.sha1 @@ -0,0 +1,2 @@ +b1d7539a87dea81b2cff6146afaad64470d08d84 *pokegold-spaceworld.gb +87fd8dbe5db39619529abcfc99e74cc5ecb8b94e *pokegold-spaceworld-correctheader.gb |