From a85467d462a7d960cc820feb488e858b7d4c6a9c Mon Sep 17 00:00:00 2001 From: KlzXS Date: Sun, 16 Aug 2020 01:00:58 +0000 Subject: 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 --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile') 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) -- cgit v1.2.3-70-g09d2