From 4508fd2c4ee3171bdc1bffb7e53ecda8290292ef Mon Sep 17 00:00:00 2001 From: Connor Lane Smith Date: Thu, 24 Jun 2010 17:44:35 +0100 Subject: moved draw.c to libdraw.a --- draw/Makefile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 draw/Makefile (limited to 'draw/Makefile') diff --git a/draw/Makefile b/draw/Makefile new file mode 100644 index 0000000..1f72b61 --- /dev/null +++ b/draw/Makefile @@ -0,0 +1,26 @@ +# libdraw - dynamic drawing library +# See LICENSE file for copyright and license details. + +include ../config.mk + +SRC = cleanupdraw.c setupdraw.c drawtext.c eprint.c getcolor.c initfont.c \ +textnw.c textw.c +OBJ = ${SRC:.c=.o} + +all: libdraw.a + +.c.o: + @echo CC $< + @${CC} -c ${CFLAGS} $< + +${OBJ}: ../config.mk draw.h + +libdraw.a: ${OBJ} + @echo AR $@ + @ar cr $@ $+ + +clean: + @echo cleaning libdraw + @rm -f libdraw.a ${OBJ} + +.PHONY: all options clean -- cgit v1.2.3-54-g00ecf