summaryrefslogtreecommitdiff
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 3955628..1ee8de8 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ DESTDIR ?=
.PHONY: all clean docs install uninstall
-all: libnsgif.a
+all: libnsgif.a bin/decode_gif
libnsgif.a: libnsgif.o libnsgif.pc
${AR} ${ARFLAGS} libnsgif.a libnsgif.o
@@ -34,6 +34,9 @@ libnsgif.pc: libnsgif.pc.in
%.o: %.c
${CC} -c ${CFLAGS} -o $@ $<
+bin/decode_gif: examples/decode_gif.c libnsgif.a
+ ${CC} ${CFLAGS} -o $@ $< libnsgif.a
+
docs:
${DOXYGEN}