naiveproxy/tools/gn/bootstrap/build.ninja.template
2018-08-11 05:35:24 +00:00

20 lines
508 B
Plaintext

rule cc
command = $cc -MMD -MF $out.d $defines $includes $cflags $cflags_c -c $in -o $out
description = CC $out
depfile = $out.d
deps = gcc
rule cxx
command = $cxx -MMD -MF $out.d $defines $includes $cflags $cflags_cc -c $in -o $out
description = CXX $out
depfile = $out.d
deps = gcc
rule alink_thin
command = rm -f $out && $ar rcsT $out $in
description = AR $out
rule link
command = $ld $ldflags -o $out -Wl,--start-group $in $libs -Wl,--end-group $solibs
description = LINK $out