58 lines
1.3 KiB
Plaintext
58 lines
1.3 KiB
Plaintext
### GENERATED BY THE GRBC BUILT-IN NINJA GENERATOR ###
|
|
### GENERATED ON: 1727735253 ###
|
|
|
|
## Default variables ##
|
|
|
|
builddir = build
|
|
|
|
## build_rule_compile_cc ##
|
|
|
|
cc_path = /usr/lib64/ccache/gcc
|
|
rule cc
|
|
command = $cc_path -MMD -MT $out -MF $out.d $p_cflags -c $in -o $out
|
|
description = Compiling C object $in
|
|
depfile = $out.d
|
|
deps = gcc
|
|
|
|
## build_rule_compile_cxx ##
|
|
|
|
cxx_path = /usr/lib64/ccache/g++
|
|
rule cxx
|
|
command = $cxx_path -MMD -MT $out -MF $out.d $p_cflags -c $in -o $out
|
|
description = Compiling C++ object $in
|
|
depfile = $out.d
|
|
deps = gcc
|
|
|
|
## build_rule_link_cc ##
|
|
|
|
rule link_cc
|
|
command = $cc_path $p_cflags -o $out $in $p_linker_flags
|
|
description = Linking C target $out
|
|
|
|
## build_rule_link_cxx ##
|
|
|
|
rule link_cxx
|
|
command = $cxx_path $p_cflags -o $out $in $p_linker_flags
|
|
description = Linking C++ target $out
|
|
|
|
## build_rule_archive_library ##
|
|
|
|
rule archive
|
|
command = rm -f $out; ar crs $out $in
|
|
description = Creating static library $out
|
|
|
|
## Compile: src/ext_fusion.cc ##
|
|
|
|
build $builddir/src/ext_fusion.o: cxx src/ext_fusion.cc
|
|
p_cflags = -fPIC -I../vendor/sol2/include
|
|
|
|
## Link: libfusion.so ##
|
|
|
|
build $builddir/libfusion.so: link_cxx $builddir/src/ext_fusion.o
|
|
p_linker_flags = -shared -Lbuild -Wl,-rpath,build:.
|
|
p_cflags =
|
|
|
|
build all: phony $builddir/libfusion.so
|
|
|
|
default all
|