blob: 8466900692f0c1d58b66e4faec136adfd5b09fe6 [file] [log] [blame]
dana koch2c723172019-03-01 16:02:37 -05001rule cxx
Nico Weberde542972019-11-16 15:32:18 -05002 command = $cxx -MMD -MF $out.d $includes $cflags -c $in -o $out
dana koch2c723172019-03-01 16:02:37 -05003 description = CXX $out
4 depfile = $out.d
5 deps = gcc
6
7rule alink_thin
8 command = rm -f $out && $ar rcs $out $in
9 description = AR $out
10
11rule link
12 command = $ld $ldflags -o $out -Wl,--start-group $in $libs -Wl,--end-group $solibs
13 description = LINK $out