aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2019-02-02 22:32:39 +0000
committerHarry Jeffery <harry@exec64.co.uk>2019-02-02 22:35:18 +0000
commit31e3a4a4508d27b3962cc686f6042a40279dcba8 (patch)
treea92988700010d54a4ed9170d4aab803b22403be1 /Makefile
parenta857a8805c08da30a8af1987faa7c76a9e7a6c69 (diff)
downloadimv-31e3a4a4508d27b3962cc686f6042a40279dcba8.tar.gz
Add libtiff backend
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 18d07dd..e868aa6 100644
--- a/Makefile
+++ b/Makefile
@@ -30,6 +30,11 @@ ifeq ($(BACKEND_FREEIMAGE),yes)
override LIBS += -lfreeimage
endif
+ifeq ($(BACKEND_LIBTIFF),yes)
+ override CPPFLAGS += -DIMV_BACKEND_LIBTIFF
+ override LIBS += -ltiff
+endif
+
ifeq ($(BACKEND_LIBPNG),yes)
override CPPFLAGS += -DIMV_BACKEND_LIBPNG
override LIBS += -lpng