code: drawterm

ref: 0748e023cf5eb117f0fa8b68cc0a8c9602e17bba
dir: /libdraw/Makefile/

View raw version
ROOT=..
include ../Make.config
LIB=libdraw.a

OFILES=\
	alloc.$O\
	arith.$O\
	badrect.$O\
	bytesperline.$O\
	chan.$O\
	defont.$O\
	drawrepl.$O\
	fmt.$O\
	icossin.$O\
	icossin2.$O\
	rectclip.$O\
	rgb.$O

default: $(LIB)
$(LIB): $(OFILES)
	$(AR) r $(LIB) $(OFILES)
	$(RANLIB) $(LIB)

%.$O: %.c
	$(CC) $(CFLAGS) $*.c