Skip to content

Commit

Permalink
Update common MacOS-intel directories
Browse files Browse the repository at this point in the history
  • Loading branch information
cpiker committed Nov 6, 2023
1 parent 16b4863 commit 1bf5b27
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions buildfiles/Darwin.mak
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Export mac compatable md5sum command

MD5SUM=md5 -r
export MD5SUM

export MD5SUM := md5 -r
export DIFFCMD := diff

##############################################################################
# Project definitions
Expand Down Expand Up @@ -52,12 +51,12 @@ WARNINGS:=-Wall -Wno-format-security -Wno-format-truncation

ifeq ($(CONDA_BUILD_STATE),)
# Non conda build, depends on homebrew
BREW_INC_DIR=/opt/homebrew/include
BREW_LIB_DIR=/opt/homebrew/lib
BREW_INC_DIR=/usr/local/include
BREW_LIB_DIR=/usr/local/lib


ifeq ($(OPENSSL_DIR),)
OPENSSL_DIR=/opt/homebrew/opt/openssl
OPENSSL_DIR=/usr/local/opt/openssl
endif

SSL_INC=-I $(OPENSSL_DIR)/include
Expand All @@ -73,8 +72,6 @@ LFLAGS= -L$(BREW_LIB_DIR) -lfftw3 -lexpat $(SSL_LIB) -lz -lm -lpthread
else
# Conda build

$(error wtf?)

SSL_INC=
SSL_LIB=-lssl -lcrypto

Expand All @@ -86,8 +83,6 @@ LFLAGS:=$(LDFLAGS) -lfftw3 -lexpat $(SSL_LIB) -lz -lm -lpthread

endif



##############################################################################
# Derived definitions

Expand Down

0 comments on commit 1bf5b27

Please sign in to comment.