shithub: riscv

ref: e391b7ec8c0dc746a70725f3fc598def0419d1e6
dir: /sys/src/libmemdraw/mkfile/

View raw version
</$objtype/mkfile

LIB=/$objtype/lib/libmemdraw.a
OFILES=\
	alloc.$O\
	arc.$O\
	cload.$O\
	cmap.$O\
	cread.$O\
	defont.$O\
	draw.$O\
	ellipse.$O\
	fillpoly.$O\
	hwdraw.$O\
	line.$O\
	load.$O\
	openmemsubfont.$O\
	poly.$O\
	read.$O\
	string.$O\
	subfont.$O\
	unload.$O\
	write.$O\

UPDATE=\
	mkfile\
	$HFILES\
	${OFILES:%.$O=%.c}\

</sys/src/cmd/mksyslib

alloc.$O draw.$O: /sys/include/pool.h

$O.drawtest: drawtest.$O $LIB
	$LD -o $target $prereq
 
$O.arctest: arctest.$O draw.$O arc.$O $LIB
	$LD -o $target $prereq