summaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk17
1 files changed, 5 insertions, 12 deletions
diff --git a/config.mk b/config.mk
index a20e6e3..cf2f946 100644
--- a/config.mk
+++ b/config.mk
@@ -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