aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2016-08-21 08:25:12 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2016-08-21 09:54:51 +0530
commit2958ecd040d588b43379f38d93a8657d305564c7 (patch)
tree9e4e85668248f4d710c07344a87094a1e0a9af5d /Makefile
parent25e1dcaa8b1940f2a199d1ab494a45515637e433 (diff)
downloadnnn-2958ecd040d588b43379f38d93a8657d305564c7.tar.gz
Remove libmagic, use file command.
The magic.mgc file gets created in the local directory, opening the global file throws unwanted messages. So we are using the o/p of the file command to determine if the file is a plain text file.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index de973b9..b293e4f 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ MANPREFIX = $(PREFIX)/man
#CPPFLAGS = -DDEBUG
#CFLAGS = -g
CFLAGS = -O3 -march=native
-LDLIBS = -lcurses -lmagic
+LDLIBS = -lcurses
DISTFILES = noice.c strlcat.c strlcpy.c util.h config.def.h\
noice.1 Makefile README LICENSE