aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar KlzXS <azszwymmvqdi@yahoo.com>2020-08-16 01:00:58 +0000
committerGravatar GitHub <noreply@github.com>2020-08-16 06:30:58 +0530
commita85467d462a7d960cc820feb488e858b7d4c6a9c (patch)
treebb9636141d07fbeb7ecedfb098b5f264634bb338 /Makefile
parent1998b88c14c8978c750924f38fa7962d552322c6 (diff)
downloadnnn-a85467d462a7d960cc820feb488e858b7d4c6a9c.tar.gz
Icons (#697)
* Add icons * Fix build break * Fix icon position in detailed mode * Various fixes * Provision for icon specific colors No icons with oldcolor. Small optimizatons * Update Makefiles Small refinement for other matching
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e6c07c5..1a80dfb 100644
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,7 @@ O_NOMOUSE := 0 # no mouse support
O_NOBATCH := 0 # no built-in batch renamer
O_NOFIFO := 0 # no FIFO previewer support
O_CTX8 := 0 # enable 8 contexts
+O_ICONS := 0 # support icons
# convert targets to flags for backwards compatibility
ifneq ($(filter debug,$(MAKECMDGOALS)),)
@@ -70,6 +71,10 @@ ifeq ($(O_CTX8),1)
CPPFLAGS += -DCTX8
endif
+ifeq ($(O_ICONS),1)
+ CPPFLAGS += -DICONS
+endif
+
ifeq ($(shell $(PKG_CONFIG) ncursesw && echo 1),1)
CFLAGS_CURSES ?= $(shell $(PKG_CONFIG) --cflags ncursesw)
LDLIBS_CURSES ?= $(shell $(PKG_CONFIG) --libs ncursesw)