mkmany (379B)
1 progs=${targ:%=$o.%} 2 3 all:V: $progs 4 5 $o.%: %.$o $ofiles $lib # ${shortlib:%=$libdir/lib%.a} 6 $ld -o $target $prereq $ldflags 7 8 %.install:V: $bin/% 9 10 $bin/%: $o.% 11 $install $o.$stem $bin/$stem 12 13 many-install:V: 14 for i in $targ 15 do 16 mk $mkflags $i.install 17 done 18 19 install:V: many-install 20 21 cleanfiles=$cleanfiles $progs 22 nukefiles=$nukefiles ${targ:%=$bin/%} 23 24 <$kernel/build/mkcommon