xref: /plan9/sys/src/cmd/unix/drawterm/libdraw/Makefile (revision 8ccd4a6360d974db7bd7bbd4f37e7018419ea908)
1ROOT=..
2include ../Make.config
3LIB=libdraw.a
4
5OFILES=\
6	alloc.$O\
7	arith.$O\
8	bytesperline.$O\
9	chan.$O\
10	defont.$O\
11	drawrepl.$O\
12	icossin.$O\
13	icossin2.$O\
14	rectclip.$O\
15	rgb.$O
16
17default: $(LIB)
18$(LIB): $(OFILES)
19	$(AR) r $(LIB) $(OFILES)
20	$(RANLIB) $(LIB)
21
22%.$O: %.c
23	$(CC) $(CFLAGS) $*.c
24
25