summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSean Fox <dyntryx@gmail.com>2008-06-27 04:06:59 +0000
committerSean Fox <dyntryx@gmail.com>2008-06-27 04:06:59 +0000
commit3bd20517eb94e2d44b68e4cafdf98ffb37936171 (patch)
treeeee70bc3e736651b33b46f960747a96373b70eca /Makefile
parentef3d085158e9d56c38b186942abc6cf5dd81f3c3 (diff)
downloadlibnsbmp-3bd20517eb94e2d44b68e4cafdf98ffb37936171.tar.gz
libnsbmp-3bd20517eb94e2d44b68e4cafdf98ffb37936171.tar.bz2
Added bmp decoding example
svn path=/branches/dynis/libnsbmp/; revision=4462
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 118bf45..175ff93 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ DESTDIR ?=
.PHONY: all clean docs install uninstall
-all: libnsbmp.a
+all: libnsbmp.a bin/decode_bmp
libnsbmp.a: libnsbmp.o libnsbmp.pc
${AR} ${ARFLAGS} libnsbmp.a libnsbmp.o
@@ -34,6 +34,9 @@ libnsbmp.pc: libnsbmp.pc.in
%.o: %.c
${CC} -c ${CFLAGS} -o $@ $<
+bin/decode_bmp: examples/decode_bmp.c libnsbmp.a
+ ${CC} ${CFLAGS} -o $@ $< libnsbmp.a
+
docs:
${DOXYGEN}