Allow make compare to work on all platforms

This commit is contained in:
garakmon 2018-07-18 15:06:18 -04:00
parent 5e46a0fcc5
commit 1ab872c68e

View File

@ -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