From 7f648bcd0605a83da3f7ce96674c15bdd2d43402 Mon Sep 17 00:00:00 2001 From: "Robert J. Ennis" Date: Thu, 10 Mar 2016 15:07:50 +0100 Subject: [PATCH] Update Makefile for OSX build with homebrew ncurses This adds compilation flags to include the homebrew installed ncurses 6.0 library during compilation. --- src/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Makefile b/src/Makefile index a48a47a5..c79c2706 100644 --- a/src/Makefile +++ b/src/Makefile @@ -37,6 +37,8 @@ os := $(shell uname) ifeq ($(os),Darwin) LIBS += -lncurses -lboost_regex-mt + CPPFLAGS += -I/usr/local/opt/ncurses/include + LDFLAGS += -L/usr/local/opt/ncurses/lib else ifeq ($(os),FreeBSD) LIBS += -ltinfow -lncursesw -lboost_regex CPPFLAGS += -I/usr/local/include