1APE=/sys/src/ape 2<$APE/config 3 4DIRS=gen math plan9 posix stdio syscall 5 6default:V: all 7 8install all:V: 9 for(i in $DIRS $objtype)@{ 10 echo $i 11 cd $i 12 mk $MKFLAGS $target 13 } 14 15installall:V: 16 for(objtype in $CPUS) mk $MKFLAGS install 17 18 19clean nuke:V: 20 for(i in $DIRS $CPUS)@{ 21 echo $i 22 cd $i 23 mk $MKFLAGS $target 24 } 25