You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
444 B
27 lines
444 B
15 years ago
|
# 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
|