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

20 lines
508 B
Plaintext
Raw Normal View History

2018-12-10 05:59:24 +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