diff --git a/src/Makefile b/src/Makefile index 82d2b37d..4f9be7ba 100644 --- a/src/Makefile +++ b/src/Makefile @@ -38,8 +38,8 @@ os := $(shell uname) ifeq ($(os),Darwin) LIBS += -lncurses -lboost_regex-mt - CPPFLAGS += -I/usr/local/opt/ncurses/include -I/usr/local/opt/boost/include - LDFLAGS += -L/usr/local/opt/ncurses/lib -L/usr/local/opt/boost/lib + CPPFLAGS += -I$(PREFIX)/opt/ncurses/include -I$(PREFIX)/opt/boost/include + LDFLAGS += -L$(PREFIX)/opt/ncurses/lib -L$(PREFIX)/opt/boost/lib else ifeq ($(os),FreeBSD) LIBS += -ltinfow -lncursesw -lboost_regex CPPFLAGS += -I/usr/local/include