From 1ab872c68e951837b6925dbbdf25c4e8d0b63c82 Mon Sep 17 00:00:00 2001 From: garakmon Date: Wed, 18 Jul 2018 15:06:18 -0400 Subject: [PATCH] Allow make compare to work on all platforms --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 25dd876d6..58a93bb55 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,13 @@ LDFLAGS = -Map ../../$(MAP) LIB := -L ../../tools/agbcc/lib -lgcc -lc -SHA1 := sha1sum -c +ifeq ($(OS),Windows_NT) + SHA1 := sha1sum -c +else ifeq ($(shell uname -s),Darwin) + SHA1 := shasum -c +else + SHA1 := sha1sum -c +endif GFX := tools/gbagfx/gbagfx AIF := tools/aif2pcm/aif2pcm