diff options
author | Bert Münnich <ber.t@posteo.de> | 2017-09-08 15:56:55 +0200 |
---|---|---|
committer | Bert Münnich <ber.t@posteo.de> | 2017-09-08 16:03:05 +0200 |
commit | e46b1fa609b96194633c58bf75df9c88ede44a90 (patch) | |
tree | 32791369b6d5882e6f61d648075b6fd46a0e7dfe /config.mk | |
parent | ad9955a9cf2200bf00e607da39a226c4c1d45a6b (diff) | |
download | nsxiv-e46b1fa609b96194633c58bf75df9c88ede44a90.tar.zst |
Simplify config.mk
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 17 |
1 files changed, 5 insertions, 12 deletions
@@ -5,20 +5,13 @@ CC ?= gcc CFLAGS += -std=c99 -Wall -pedantic CPPFLAGS += -I/usr/include/freetype2 -D_XOPEN_SOURCE=700 LDFLAGS += -LIBS := -lImlib2 -lX11 -lXft # autoreload backend: inotify/nop AUTORELOAD := inotify -# optional dependencies: -# giflib: gif animations -ifndef NO_GIFLIB - CPPFLAGS += -DHAVE_GIFLIB - LIBS += -lgif -endif -# libexif: jpeg auto-orientation, exif thumbnails -ifndef NO_LIBEXIF - CPPFLAGS += -DHAVE_LIBEXIF - LIBS += -lexif -endif +# enable features requiring giflib (-lgif) +HAVE_GIFLIB := 1 + +# enable features requiring libexif (-lexif) +HAVE_LIBEXIF := 1 |