aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2019-09-02 22:09:14 +0100
committerHarry Jeffery <harry@exec64.co.uk>2019-09-02 22:25:48 +0100
commita6deca0ad390d29ada6d72584a1be835a3913139 (patch)
tree2d9a8dc2900d91528535a5b10a056f2d5e05177b /Makefile
parentc04a71d4a1306d23bd8f4ae2f4eba24290c78aeb (diff)
downloadimv-a6deca0ad390d29ada6d72584a1be835a3913139.tar.gz
libnsgif: Add libnsgif backend
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2f0ff1d..79fd23a 100644
--- a/Makefile
+++ b/Makefile
@@ -89,6 +89,12 @@ ifeq ($(BACKEND_LIBRSVG),yes)
override LIBS += $(shell pkg-config --libs librsvg-2.0)
endif
+ifeq ($(BACKEND_LIBNSGIF),yes)
+ SOURCES += src/backend_libnsgif.c
+ override CPPFLAGS += -DIMV_BACKEND_LIBNSGIF $(shell pkg-config --cflags libnsgif)
+ override LIBS += $(shell pkg-config --libs libnsgif)
+endif
+
TEST_SOURCES := test/list.c test/navigator.c