#!/bin/rc -e for(i in amd64 386 arm){ if(! ~ $#* 0) objtype=$i mk $*^.install if not objtype=$i mk install } if(! ~ $#* 0) mk cleancmds if not mk clean