naiveproxy/tools/gn/bootstrap/build.ninja.template

20 lines
508 B
Plaintext
Raw Normal View History

2018-01-28 19:30:36 +03:00
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