2010-06-24 18:44:35 +02:00
|
|
|
# libdraw - dynamic drawing library
|
|
|
|
# See LICENSE file for copyright and license details.
|
|
|
|
|
|
|
|
include ../config.mk
|
|
|
|
|
2010-06-28 07:09:34 +02:00
|
|
|
SRC = cleanupdraw.c drawsquare.c drawtext.c eprint.c getcolor.c initfont.c \
|
|
|
|
setupdraw.c textnw.c textw.c
|
2010-06-24 18:44:35 +02:00
|
|
|
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
|