summaryrefslogtreecommitdiff
path: root/Makefile
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 /Makefile
parent572eddf4890ecbcd1b0e06c02046e29ddd58526f (diff)
parent904d950a9ed1876554557cba5a2e627d46c139cb (diff)
Merge pull request #317 from dsastr/macos-mojave-support
Add support for building on macOS
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5189c062..4467d8ac 100644
--- a/Makefile
+++ b/Makefile
@@ -109,7 +109,11 @@ LDFLAGS = -map -nodead -w off -proc v5te -interworking -map -symtab -m _start
# DS TOOLS
TOOLS_DIR = tools
+ifeq ($(UNAME_S),Darwin)
+SHA1SUM = shasum
+else
SHA1SUM = sha1sum
+endif
CSV2BIN = $(TOOLS_DIR)/csv2bin/csv2bin$(EXE)
JSONPROC = $(TOOLS_DIR)/jsonproc/jsonproc$(EXE)
O2NARC = $(TOOLS_DIR)/o2narc/o2narc$(EXE)