kcconley@gmail.com | 8ae5377 | 2014-07-24 20:16:54 +0000 | [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 |
Petr Hosek | 0f3dbca | 2019-04-11 10:30:18 -0700 | [diff] [blame] | 14 | command = rm -f $out && $ar rcs $out $in |
kcconley@gmail.com | 8ae5377 | 2014-07-24 20:16:54 +0000 | [diff] [blame] | 15 | description = AR $out |
| 16 | |
| 17 | rule link |
| 18 | command = $ld $ldflags -o $out $in $solibs $libs |
| 19 | description = LINK $out |