aboutsummaryrefslogtreecommitdiffstats
path: root/misc
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 /misc
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 'misc')
-rw-r--r--misc/haiku/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/misc/haiku/Makefile b/misc/haiku/Makefile
index 35480d3..ba10734 100644
--- a/misc/haiku/Makefile
+++ b/misc/haiku/Makefile
@@ -17,6 +17,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)),)
@@ -69,6 +70,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)