diff options
| author | Michael Forney <mforney@mforney.org> | 2016-11-19 18:11:12 -0800 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2016-11-20 16:14:20 -0800 |
| commit | de4e4c63378c6fd0dc2504ddce5a13ee1e62504a (patch) | |
| tree | 996c7ca19cea166be6b0f1cb2fa364c4e96d3e69 /core/zlib | |
| parent | cd820c03fc5b00354fa5a444216726fc46a22a5d (diff) | |
Drop phony/ prefix from phony targets
There is little chance of collision between phony target names and actual
sources checked in $dir. Additionally, it was a bit magical when processing
phony sources because paths starting with $ or phony/ were left alone, while
others were prepended with $outdir/.
Also, where appropriate, use phony targets for dependencies instead of
specifying all of them for every compile action. This makes the resulting ninja
files easier to read, and might be more efficient too.
Diffstat (limited to 'core/zlib')
| -rw-r--r-- | core/zlib/gen.rc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/zlib/gen.rc b/core/zlib/gen.rc index 4843b6d9..c868a348 100644 --- a/core/zlib/gen.rc +++ b/core/zlib/gen.rc @@ -29,6 +29,6 @@ for(hdr in $hdrs) { build '$outdir'/include/$hdr copy '$srcdir'/$hdr file include/$hdr '$srcdir'/$hdr 644 } -phony headers include/$hdrs +phony headers '$outdir'/include/$hdrs fetch git |
