APE=/sys/src/ape <$APE/config LIB=/$objtype/lib/ape/libz.a OFILES=\ adler32.$O\ compress.$O\ crc32.$O\ deflate.$O\ gzio.$O\ infback.$O\ inffast.$O\ inflate.$O\ inftrees.$O\ trees.$O\ uncompr.$O\ zutil.$O\ TARG=\ example\ minigzip\ TOOLS=${TARG:%=$O.%} HFILES=\ /sys/include/ape/zlib.h\ UPDATE=\ mkfile\ $HFILES\ ${OFILES:%.$O=%.c}\ ${LIB:/$objtype/%=/386/%}\ CLEANFILES=$TOOLS