blob: ab117fb42c758b1a440b12c93b82f7683eb381e6 [file] [log] [blame]
phajdan.jr@chromium.org95317c92014-01-27 18:56:18 +00001rule cxx
Nico Weberde542972019-11-16 15:32:18 -05002 command = $cxx -MMD -MF $out.d $includes $cflags -c $in -o $out
phajdan.jr@chromium.org95317c92014-01-27 18:56:18 +00003 description = CXX $out
4 depfile = $out.d
5 deps = gcc
6
7rule alink_thin
8 command = rm -f $out && $ar rcsT $out $in
9 description = AR $out
10
11rule link
timb21d1192016-07-01 12:23:08 -070012 command = $ld $ldflags -o $out -Wl,--start-group $in $libs -Wl,--end-group $solibs
phajdan.jr@chromium.org95317c92014-01-27 18:56:18 +000013 description = LINK $out