aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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