aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Dave Snider <dave.snider@gmail.com>2020-09-13 19:59:51 -0700
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-09-14 22:09:52 +0530
commit1fc1b8be8b6cd5d43f7443486dc97cce133f9053 (patch)
treeec51471e9709dab8a850574fbf040bab4a2d509c /Makefile
parent868c1898d36c90b56082d350821c6c95e37e43ca (diff)
downloadnnn-1fc1b8be8b6cd5d43f7443486dc97cce133f9053.tar.gz
Add nerdfont defs file and normalize vars (#722)
* Add nerdfont defs file and normalize vars * some cleanup * address feedback * one more spacing issue * address feedback
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 35d37aa..0e15af4 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,8 @@ 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
+O_ICONS := 0 # support icons-in-terminal
+O_NERD := 0 # support icons-nerdfont
O_QSORT := 0 # use Alexey Tourbin's QSORT implementation
O_BENCH := 0 # benchmark mode (stops at first user input)
@@ -77,6 +78,10 @@ ifeq ($(O_ICONS),1)
CPPFLAGS += -DICONS
endif
+ifeq ($(O_NERD),1)
+ CPPFLAGS += -DNERD
+endif
+
ifeq ($(O_QSORT),1)
CPPFLAGS += -DTOURBIN_QSORT
endif