blob: e7dedac2f1482f2b4b7e1da589bf304180c6d0ac [file] [log] [blame]
kcconley@gmail.com8ae53772014-07-24 20:16:54 +00001rule 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
Petr Hosek0f3dbca2019-04-11 10:30:18 -070014 command = rm -f $out && $ar rcs $out $in
kcconley@gmail.com8ae53772014-07-24 20:16:54 +000015 description = AR $out
16
17rule link
18 command = $ld $ldflags -o $out $in $solibs $libs
19 description = LINK $out