#!/bin/rc rfork e targ=$1 if(~ $#targ 0) exit 'no target' mkfile='</$objtype/mkfile OFILES='$targ'.$O CFLAGS=$CFLAGS -p </sys/src/cmd/mkone' mk -f /env/mkfile && mv [568].out $targ