Allow for ninja files to regenerate themselves

This commit is contained in:
Justin C. Miller
2019-02-02 11:52:05 -08:00
parent 0f8efdb55e
commit 8d23fac6cc
3 changed files with 58 additions and 10 deletions

View File

@@ -10,7 +10,7 @@ ccflags = $ccflags $
{% endblock %}
{% for source in sources %}
build ${moddir}/{{ source.output }} : {{ source.action }} {{ source.input }}
build ${moddir}/{{ source.output }} : {{ source.action }} {{ source.input }} || {{ buildfile }}
name = {{ source.name }}
{% endfor %}