use explicit flags for homebrew's boost on osx

This commit is contained in:
Martin Chaine 2016-12-30 11:03:49 +01:00
parent 76c58aa022
commit 7b60ae0b5a

View File

@ -38,8 +38,8 @@ os := $(shell uname)
ifeq ($(os),Darwin) ifeq ($(os),Darwin)
LIBS += -lncurses -lboost_regex-mt LIBS += -lncurses -lboost_regex-mt
CPPFLAGS += -I/usr/local/opt/ncurses/include CPPFLAGS += -I/usr/local/opt/ncurses/include -I/usr/local/opt/boost/include
LDFLAGS += -L/usr/local/opt/ncurses/lib LDFLAGS += -L/usr/local/opt/ncurses/lib -L/usr/local/opt/boost/lib
else ifeq ($(os),FreeBSD) else ifeq ($(os),FreeBSD)
LIBS += -ltinfow -lncursesw -lboost_regex LIBS += -ltinfow -lncursesw -lboost_regex
CPPFLAGS += -I/usr/local/include CPPFLAGS += -I/usr/local/include