blob: f22ccb327a8f1bb1c49d96feaa9cdbe744b518ef [file] [log] [blame]
dana koch2c723172019-03-01 16:02:37 -05001rule cc
2 command = $cc -MMD -MF $out.d $defines $includes $cflags $cflags_c -c $in -o $out
3 description = CC $out
4 depfile = $out.d
5 deps = gcc
6
7rule cxx
8 command = $cxx -MMD -MF $out.d $defines $includes $cflags $cflags_cc -c $in -o $out
9 description = CXX $out
10 depfile = $out.d
11 deps = gcc
12
13rule alink_thin
14 command = rm -f $out && $ar rcs $out $in
15 description = AR $out
16
17rule link
18 command = $ld $ldflags -o $out -Wl,--start-group $in $libs -Wl,--end-group $solibs
19 description = LINK $out