ref: e0207cce6bc4ac7b8a9d4afbc9e7751e87dc34fe
dir: /bin/mkall/
#!/bin/rc -e clean=1 if(~ $1 -n){ clean=() shift } for(i in amd64 386 arm){ objtype=$i { if(! ~ $#* 0) mk $*^.install if not{ mk nuke mk install } if(! ~ $#clean 0){ if(! ~ $#* 0) mk cleancmds >[2]/dev/null || mk $*^.clean if not mk clean } } }