regular/homebrew build selection for Mac OS X

This commit is contained in:
orignal 2016-05-11 07:08:02 -04:00
parent b03a6a5327
commit aa215f2a5a
2 changed files with 6 additions and 2 deletions

View File

@ -14,7 +14,11 @@ USE_STATIC := no
ifeq ($(UNAME),Darwin)
DAEMON_SRC += DaemonLinux.cpp
include Makefile.homebrew
ifeq ($(HOMEBREW),1)
include Makefile.homebrew
else
include Makefile.osx
endif
else ifeq ($(shell echo $(UNAME) | $(GREP) -c FreeBSD),1)
DAEMON_SRC += DaemonLinux.cpp
include Makefile.bsd

View File

@ -104,7 +104,7 @@ brew install libressl boost
Then build:
```bash
make
make HOMEBREW=1
```