Home | History | Annotate | Download | only in bootstrap
      1 cc = cc
      2 cxx = c++
      3 ld = $cc
      4 ldxx = $cxx
      5 ar = ar
      6 
      7 rule cc
      8   command = $cc -MMD -MF $out.d $defines $includes $cflags $cflags_c -c $in -o $out
      9   description = CC $out
     10   depfile = $out.d
     11   deps = gcc
     12 
     13 rule cxx
     14   command = $cxx -MMD -MF $out.d $defines $includes $cflags $cflags_cc -c $in -o $out
     15   description = CXX $out
     16   depfile = $out.d
     17   deps = gcc
     18 
     19 rule alink_thin
     20   command = rm -f $out && $ar rcsT $out $in
     21   description = AR $out
     22 
     23 rule link
     24   command = $ld $ldflags -o $out -Wl,--start-group $in $solibs -Wl,--end-group $libs
     25   description = LINK $out
     26