mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
27 lines
542 B
Django/Jinja
27 lines
542 B
Django/Jinja
builddir = $builddir/{{ target }}
|
|
target = {{ target }}
|
|
|
|
{% block variables %}
|
|
{% endblock %}
|
|
|
|
{% block binaries %}
|
|
cc = clang
|
|
cxx = clang++
|
|
ld = ld
|
|
ar = ar
|
|
nasm = nasm
|
|
objcopy = objcopy
|
|
{% endblock %}
|
|
|
|
{% for module in modules %}
|
|
subninja {{ module }}.ninja
|
|
{% endfor %}
|
|
|
|
build ${builddir}/c.defs : dump_c_defs | {{ buildfile }}
|
|
build ${builddir}/cpp.defs : dump_cpp_defs | {{ buildfile }}
|
|
build ${builddir}/c.run : dump_c_run | {{ buildfile }}
|
|
build ${builddir}/cpp.run : dump_cpp_run | {{ buildfile }}
|
|
|
|
# vim: ft=ninja et ts=4 sts=4 sw=4
|
|
|