summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authoralpha123 <turkchess123@gmail.com>2015-11-02 13:22:00 -0700
committeralpha123 <turkchess123@gmail.com>2015-11-03 11:51:27 -0700
commit97c92368bc0efe85d006e367d97fd88da5a13ecf (patch)
tree6ca9292084da13fc3416354862cfbae263d8876e /src/Makefile
parentba8fbb67189b78c1e552ccb2ebcc84a793704b11 (diff)
Build on FreeBSD
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index f3b32238..78eb6d25 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -28,6 +28,10 @@ os := $(shell uname)
ifeq ($(os),Darwin)
LIBS += -lncurses -lboost_regex-mt
+else ifeq ($(os),FreeBSD)
+ LIBS += -ltinfow -lncursesw -lboost_regex
+ CPPFLAGS += -I/usr/local/include
+ LDFLAGS += -L/usr/local/lib
else ifeq ($(os),Haiku)
LIBS += -lncursesw -lboost_regex -lnetwork -lbe
else ifneq (,$(findstring CYGWIN,$(os)))