summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBert Münnich <ber.t@posteo.de>2016-12-28 19:11:06 +0100
committerBert Münnich <ber.t@posteo.de>2016-12-28 19:18:16 +0100
commit5fb5d44cffe1ea37a1497db3939cf3d5078c6c46 (patch)
treeff1a470cb60664fdab208e86b4ecb7ca3be949bf /Makefile
parentff2ce99bf7dc08ce8eae47dd980c7af60ad51197 (diff)
parent22436f747d05e99d17bfc05a9d2892cc2ba579af (diff)
downloadnsxiv-5fb5d44cffe1ea37a1497db3939cf3d5078c6c46.tar.zst
Merge vaygr/opt-dep
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9caa9ca..3ec9ccf 100644
--- a/Makefile
+++ b/Makefile
@@ -11,12 +11,15 @@ LIBS := -lImlib2 -lX11 -lXft
# 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
.PHONY: clean install uninstall