mk-standalone

standalone mk from 9base
git clone git://git.evenfri.xyz/mk-standalone.git
Log | Files | Refs | README

mkone (290B)


      1 prog=$o.$targ
      2 
      3 all:V:  $prog
      4 
      5 $prog:  $ofiles $lib # ${shortlib:%=$libdir/lib%.a}
      6 	$ld -o $target $prereq $ldflags
      7 
      8 install:V: $targ.install
      9 %.install:V:  $bin/%
     10 
     11 $bin/%: $o.%
     12 	$install $o.$stem $bin/$stem
     13 
     14 cleanfiles=$cleanfiles $prog
     15 nukefiles=$nukefiles $bin/$targ
     16 
     17 <$PLAN9/src/mkcommon