ref: fc77a2d3d384c1ee854deebd4f1a97e751d7eaa2
dir: /sys/src/libmemdraw/mkfile/
</$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\ iprint.$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 $O.drawtime: drawtime.$O $LIB $LD -o $target $prereq $O.drawtest: drawtest.$O $LIB $LD -o $target $prereq $O.arctest: arctest.$O draw.$O arc.$O $LIB $LD -o $target $prereq $O.test: test.$O $LIB $LD -o $target $prereq