Refactoring build system for more control of inputs
This commit is contained in:
17
scripts/templates/target.default.j2
Normal file
17
scripts/templates/target.default.j2
Normal file
@@ -0,0 +1,17 @@
|
||||
builddir = $builddir/{{ target }}
|
||||
|
||||
{% block variables %}
|
||||
{% endblock %}
|
||||
|
||||
{% block binaries %}
|
||||
cc = clang
|
||||
cxx = clang++
|
||||
ld = clang++
|
||||
ar = ar
|
||||
nasm = nasm
|
||||
objcopy = objcopy
|
||||
{% endblock %}
|
||||
|
||||
{% for module in modules %}
|
||||
subninja {{ module.name }}.ninja
|
||||
{% endfor %}
|
||||
Reference in New Issue
Block a user