diff options
| author | Rangi <remy.oukaour+rangi@gmail.com> | 2020-09-22 15:22:57 -0400 |
|---|---|---|
| committer | Rangi <remy.oukaour+rangi@gmail.com> | 2020-09-22 15:22:57 -0400 |
| commit | e5c256c092df34ab95bdd2dd9fe4ddef288182b4 (patch) | |
| tree | 3c82977c7f300bcd891708968e19e6990248c27c /Makefile | |
| parent | a013d9d615a53a96a6a8862b27df176dbcb35ab6 (diff) | |
md5 -> sha1
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 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: |
