Calvin Hill | 6c7fcc3 | 2019-05-16 17:22:01 +0100 | [diff] [blame] | 1 | rule cxx |
Nico Weber | de54297 | 2019-11-16 15:32:18 -0500 | [diff] [blame] | 2 | command = $cxx -MMD -MF $out.d $includes $cflags -c $in -o $out |
Calvin Hill | 6c7fcc3 | 2019-05-16 17:22:01 +0100 | [diff] [blame] | 3 | description = CXX $out |
| 4 | depfile = $out.d |
| 5 | deps = gcc |
| 6 | |
| 7 | rule alink_thin |
| 8 | command = rm -f $out && $ar rcsT $out $in |
| 9 | description = AR $out |
| 10 | |
| 11 | rule link |
| 12 | command = $ld $ldflags -o $out -Wl,--start-group $in $libs -Wl,--end-group $solibs |
| 13 | description = LINK $out |