APE=/sys/src/ape <$APE/config LIB=/$objtype/lib/ape/libdraw.a OFILES=\ alloc.$O\ allocimagemix.$O\ arith.$O\ bezier.$O\ border.$O\ buildfont.$O\ bytesperline.$O\ chan.$O\ cloadimage.$O\ computil.$O\ creadimage.$O\ debug.$O\ defont.$O\ draw.$O\ drawrepl.$O\ egetrect.$O\ ellipse.$O\ emenuhit.$O\ event.$O\ fmt.$O\ font.$O\ freesubfont.$O\ getdefont.$O\ getsubfont.$O\ icossin.$O\ icossin2.$O\ init.$O\ line.$O\ mkfont.$O\ newwindow.$O\ openfont.$O\ poly.$O\ loadimage.$O\ readimage.$O\ readsubfont.$O\ rectclip.$O\ replclipr.$O\ rgb.$O\ string.$O\ stringbg.$O\ stringsubfont.$O\ stringwidth.$O\ subfont.$O\ subfontcache.$O\ subfontname.$O\ unloadimage.$O\ window.$O\ writecolmap.$O\ writeimage.$O\ writesubfont.$O\ HFILES=\ /sys/include/ape/draw.h\ /sys/include/ape/event.h\ /sys/include/ape/mouse.h\ /sys/include/ape/keyboard.h\ UPDATE=\ mkfile\ $HFILES\ ${OFILES:%.$O=%.c}\ ${LIB:/$objtype/%=/386/%}\