aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-05-30 06:59:45 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-05-30 07:01:34 +0530
commite3d90a98ceb6cbf2bd7ab3b242692b0079a7e15a (patch)
treefbe1217c8d54d02599edd2853cdf24b67082c28f /Makefile
parent4d291d0ac27830afc19bfb0f4057542a06de7b23 (diff)
downloadnnn-e3d90a98ceb6cbf2bd7ab3b242692b0079a7e15a.tar.gz
Support make option O_CTX8 for 8 contexts
Note that this is not compatible with 4 contexts.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 830b36a..1a2e6e7 100644
--- a/Makefile
+++ b/Makefile
@@ -61,6 +61,10 @@ ifeq ($(O_NOFIFO),1)
CPPFLAGS += -DNOFIFO
endif
+ifeq ($(O_CTX8),1)
+ CPPFLAGS += -DCTX8
+endif
+
ifeq ($(shell $(PKG_CONFIG) ncursesw && echo 1),1)
CFLAGS_CURSES ?= $(shell $(PKG_CONFIG) --cflags ncursesw)
LDLIBS_CURSES ?= $(shell $(PKG_CONFIG) --libs ncursesw)