aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-03-30 22:09:39 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-03-30 22:09:39 +0530
commita4243edacc980984fcd26a5260435cc62289478b (patch)
treee62995c9de3cbb3c5b1949ca565c5e8f1a61f4fd /Makefile
parent54d25807999282bf1d6ed282be3f38efcdf5bad0 (diff)
downloadnnn-a4243edacc980984fcd26a5260435cc62289478b.tar.gz
make var O_NOBATCH to compile out native batch renamer
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 097655a..0a71e57 100644
--- a/Makefile
+++ b/Makefile
@@ -51,6 +51,10 @@ ifeq ($(O_NOMOUSE),1)
CPPFLAGS += -DNOMOUSE
endif
+ifeq ($(O_NOBATCH),1)
+ CPPFLAGS += -DNOBATCH
+endif
+
ifeq ($(shell $(PKG_CONFIG) ncursesw && echo 1),1)
CFLAGS_CURSES ?= $(shell $(PKG_CONFIG) --cflags ncursesw)
LDLIBS_CURSES ?= $(shell $(PKG_CONFIG) --libs ncursesw)