@ -30,7 +30,11 @@ all: $(MCL_LIB)
LLVM_LLC=llc$(LLVM_VER)
LLVM_OPT=opt$(LLVM_VER)
GEN_EXE=src/gen
ASM_SRC_PATH_NAME=src/asm/$(CPU)
ifeq ($(OS),mac)
ASM_SRC_PATH_NAME=src/asm/$(CPU)mac
else
endif
ifneq ($(CPU),)
ASM_SRC=$(ASM_SRC_PATH_NAME).s
@ -4,7 +4,10 @@ ifeq ($(UNAME_S),Linux)
OS=Linux
ifeq ($(UNAME_S),Darwin)
OS=mac
ARCH=x86_64
CFLAGS+=-I/usr/local/opt/openssl/include
LDFLAGS+=-L/usr/local/opt/openssl/lib
ARCH?=$(shell arch)
ifeq ($(ARCH),x86_64)