change darwin check

This commit is contained in:
Garak 2018-08-11 21:21:43 -04:00 committed by GitHub
parent 296a539664
commit 2cfc7bd358
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,14 +31,7 @@ LDFLAGS = -Map ../../$(MAP)
LIB := -L ../../tools/agbcc/lib -lgcc -lc LIB := -L ../../tools/agbcc/lib -lgcc -lc
ifeq ($(OS),Windows_NT) SHA1SUM := $(shell { command -v sha1sum || command -v shasum; } 2>/dev/null) -c
SHA1 := sha1sum -c
else ifeq ($(shell uname -s),Darwin)
SHA1 := shasum -c
else
SHA1 := sha1sum -c
endif
GFX := tools/gbagfx/gbagfx GFX := tools/gbagfx/gbagfx
AIF := tools/aif2pcm/aif2pcm AIF := tools/aif2pcm/aif2pcm
MID := $(abspath tools/mid2agb/mid2agb) MID := $(abspath tools/mid2agb/mid2agb)