Plan 9 from Bell Labs’s /usr/web/sources/contrib/fgb/root/sys/src/ape/lib/poll/mkfile
APE=/sys/src/ape <$APE/config LIB=/$objtype/lib/ape/libpoll.a OFILES=\ poll.$O\ HFILES=\ /sys/include/ape/poll.h\ UPDATE=\ mkfile\ $HFILES\ ${OFILES:%.$O=%.c}\ ${LIB:/$objtype/%=/386/%}\ </sys/src/cmd/mksyslib CFLAGS=-c -D_BSD_EXTENSION