diff options
author | Vlad Glagolev <scm@vaygr.net> | 2016-12-26 19:20:59 -0500 |
---|---|---|
committer | Vlad Glagolev <scm@vaygr.net> | 2016-12-26 19:20:59 -0500 |
commit | 22436f747d05e99d17bfc05a9d2892cc2ba579af (patch) | |
tree | 42b521f28187987eb4579affcfe6748c3270eaf2 | |
parent | ff2ce99bf7dc08ce8eae47dd980c7af60ad51197 (diff) |
Add build options for optional dependencies
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -11,12 +11,15 @@ LIBS := -lImlib2 -lX11 -lXft # optional dependencies: # giflib: gif animations +ifeq ($(WITH_GIFLIB), 1) CPPFLAGS += -DHAVE_GIFLIB LIBS += -lgif +endif # libexif: jpeg auto-orientation, exif thumbnails +ifeq ($(WITH_LIBEXIF), 1) CPPFLAGS += -DHAVE_LIBEXIF LIBS += -lexif - +endif .PHONY: clean install uninstall |