diff options
| author | 2020-08-16 01:00:58 +0000 | |
|---|---|---|
| committer | 2020-08-16 06:30:58 +0530 | |
| commit | a85467d462a7d960cc820feb488e858b7d4c6a9c (patch) | |
| tree | bb9636141d07fbeb7ecedfb098b5f264634bb338 /Makefile | |
| parent | 1998b88c14c8978c750924f38fa7962d552322c6 (diff) | |
| download | nnn-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-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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) |