ref: 88ab2978b63f3de29994685a168a1606b8b62e28
dir: /pub/files/9front/rc/mkmanymk/
#!/bin/rc fn stubfile{ echo '#include <u.h> #include <libc.h> void main(int argc, char **argv) { }' > $1.c } if(~ $#* 0){ names=`{basename `{pwd}} } if not{ names=$* } for(i in $names) stubfile $i echo '</$objtype/mkfile TARG='^$"names^' </sys/src/cmd/mkmany' > mkfile