summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2008-06-21 20:35:42 +0000
committerJames Bursa <james@netsurf-browser.org>2008-06-21 20:35:42 +0000
commitdce9c856a7626448d2d2638477d8f32c85119d3e (patch)
treecf45a8c3aed6d1f19710dd44b7c7273e32ec722a /Makefile
parent26892cfd4f011c0a75456b9bc264501157de0a88 (diff)
downloadlibnsgif-dce9c856a7626448d2d2638477d8f32c85119d3e.tar.gz
libnsgif-dce9c856a7626448d2d2638477d8f32c85119d3e.tar.bz2
Simplified example of using libnsgif.
svn path=/branches/dynis/libnsgif/; revision=4413
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}