Commit 4b8c2b4f authored by Alexey Golubev's avatar Alexey Golubev Committed by GitHub

Update Makefile

parent a7e3158c
...@@ -20,6 +20,13 @@ else ...@@ -20,6 +20,13 @@ else
LIB_EXT := .a LIB_EXT := .a
MAKE := make -j $(shell grep -c ^processor /proc/cpuinfo) MAKE := make -j $(shell grep -c ^processor /proc/cpuinfo)
endif endif
ifeq ($(UNAME_S),Darwin)
PLATFORM := mac
SHARED_EXT := .dylib*
SHELL_EXT := .sh
LIB_EXT := .a
MAKE := make -j $(shell sysctl -n hw.ncpu)
endif
UNAME_P := $(shell uname -p) UNAME_P := $(shell uname -p)
ifeq ($(UNAME_P),x86_64) ifeq ($(UNAME_P),x86_64)
ARCHITECTURE := 64 ARCHITECTURE := 64
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment