aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-02-14 08:21:30 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-02-14 08:21:30 +0530
commite664b2d29f67724789d3a4a083ef07c13bec8904 (patch)
tree2f911f59c2db1413304d1c2466789eb250c541d1 /Makefile
parenta0339adf840c0a5233fa2046e805c907c8ae8479 (diff)
downloadnnn-e664b2d29f67724789d3a4a083ef07c13bec8904.tar.gz
Compile option O_NOMOUSE to disable mouse support
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6190823..e4ed94a 100644
--- a/Makefile
+++ b/Makefile
@@ -47,6 +47,10 @@ ifeq ($(O_NOLOC),1)
CPPFLAGS += -DNOLOCALE
endif
+ifeq ($(O_NOMOUSE),1)
+ CPPFLAGS += -DNOMOUSE
+endif
+
ifeq ($(shell $(PKG_CONFIG) ncursesw && echo 1),1)
CFLAGS_CURSES ?= $(shell $(PKG_CONFIG) --cflags ncursesw)
LDLIBS_CURSES ?= $(shell $(PKG_CONFIG) --libs ncursesw)