dana koch | 2c72317 | 2019-03-01 16:02:37 -0500 | [diff] [blame] | 1 | rule 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 | |
| 7 | rule 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 | |
| 13 | rule alink_thin |
| 14 | command = rm -f $out && $ar rcs $out $in |
| 15 | description = AR $out |
| 16 | |
| 17 | rule link |
| 18 | command = $ld $ldflags -o $out -Wl,--start-group $in $libs -Wl,--end-group $solibs |
| 19 | description = LINK $out |