aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2016-08-20 20:05:35 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2016-08-20 20:05:35 +0530
commitbc731cd9c057c03a1ceaab61fd513b67d2d4c9a9 (patch)
treeaf35bab37f1970d0b024aaf3f9304d678f603bcc /Makefile
parentbd882d5561d1526b6aa23f5552f114440c7d5620 (diff)
downloadnnn-bc731cd9c057c03a1ceaab61fd513b67d2d4c9a9.tar.gz
Modify file type handling.
Use mpv, fmedia, zathura. Invoke libmagic to identify text files and open with vim. Use xdg-open for unhandled mimes.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9035141..ed7a2c4 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,8 @@ MANPREFIX = $(PREFIX)/man
#CPPFLAGS = -DDEBUG
#CFLAGS = -g
-LDLIBS = -lcurses
+CFLAGS = -O3 -march=native
+LDLIBS = -lcurses -lmagic
DISTFILES = noice.c strlcat.c strlcpy.c util.h config.def.h\
noice.1 Makefile README LICENSE