Update Makefile for OSX build with homebrew ncurses
This adds compilation flags to include the homebrew installed ncurses 6.0 library during compilation.
This commit is contained in:
parent
fcd3437fac
commit
7f648bcd06
|
@ -37,6 +37,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
|
||||||
|
LDFLAGS += -L/usr/local/opt/ncurses/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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user