diff options
| author | 2020-10-31 21:22:01 +0530 | |
|---|---|---|
| committer | 2020-10-31 21:22:01 +0530 | |
| commit | 0b31414c9a751667741c4ff30aa24b031fb4fc9e (patch) | |
| tree | b668e9eb097ba151a12964da357795f57db0e683 /Makefile | |
| parent | ff5685b64de1725e77208f0c963015bcaf3a6037 (diff) | |
| download | nnn-0b31414c9a751667741c4ff30aa24b031fb4fc9e.tar.gz | |
make option O_NOUG to compile out user group info
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -24,6 +24,7 @@ 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) O_NOSSN := 0 # enable session support +O_NOUG := 0 # disable user, group name in status bar # convert targets to flags for backwards compatibility ifneq ($(filter debug,$(MAKECMDGOALS)),) @@ -95,6 +96,10 @@ ifeq ($(O_NOSSN),1) CPPFLAGS += -DNOSSN endif +ifeq ($(O_NOUG),1) + CPPFLAGS += -DNOUG +endif + ifeq ($(shell $(PKG_CONFIG) ncursesw && echo 1),1) CFLAGS_CURSES ?= $(shell $(PKG_CONFIG) --cflags ncursesw) LDLIBS_CURSES ?= $(shell $(PKG_CONFIG) --libs ncursesw) |