aboutsummaryrefslogtreecommitdiff
path: root/draw/Makefile
blob: 1f72b61e932fd7bcac4d37773b88e16bbac95d1e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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