From dce9c856a7626448d2d2638477d8f32c85119d3e Mon Sep 17 00:00:00 2001 From: James Bursa Date: Sat, 21 Jun 2008 20:35:42 +0000 Subject: Simplified example of using libnsgif. svn path=/branches/dynis/libnsgif/; revision=4413 --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') 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} -- cgit v1.2.3