summaryrefslogtreecommitdiff
path: root/arm7
diff options
context:
space:
mode:
authorred031000 <rubenru09@aol.com>2021-02-10 10:54:44 +0000
committerGitHub <noreply@github.com>2021-02-10 10:54:44 +0000
commit41bce72d7d97a7843debfe0807d68423f54142f5 (patch)
treeef85d7e696db76e9eaba5600d89afb7b4ab454b4 /arm7
parent572eddf4890ecbcd1b0e06c02046e29ddd58526f (diff)
parent904d950a9ed1876554557cba5a2e627d46c139cb (diff)
Merge pull request #317 from dsastr/macos-mojave-support
Add support for building on macOS
Diffstat (limited to 'arm7')
-rw-r--r--arm7/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/arm7/Makefile b/arm7/Makefile
index f983c654..d142c079 100644
--- a/arm7/Makefile
+++ b/arm7/Makefile
@@ -96,7 +96,12 @@ LDFLAGS = -map -nodead -w off -proc v4t -interworking -map -symtab -m _start
####################### Other Tools #########################
# DS TOOLS
+UNAME_S := $(shell uname -s)
+ifeq ($(UNAME_S),Darwin)
+SHA1SUM = shasum
+else
SHA1SUM = sha1sum
+endif
JSONPROC = $(TOOLS_DIR)/jsonproc/jsonproc
GFX = $(TOOLS_DIR)/nitrogfx/nitrogfx
SCANINC = $(TOOLS_DIR)/scaninc/scaninc$(EXE)