aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 54088a7..c07e950 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,11 @@ PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man
CFLAGS += -O3 -march=native -Wall -Wextra -Wno-unused-parameter
-LDLIBS = -lncursesw
+ifeq ($(shell uname), Darwin)
+ LDLIBS = -lncurses
+else
+ LDLIBS = -lncursesw
+endif
DISTFILES = nnn.c config.def.h nnn.1 Makefile README.md LICENSE
LOCALCONFIG = config.h