diff options
author | Jan Niklas Hasse <jhasse@bixense.com> | 2020-01-19 12:16:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-19 12:16:06 (GMT) |
commit | 0ccc7886fd4694ae1372d29b4954e2dd3be118be (patch) | |
tree | a7b0f467bed841e08e4057e08da99ff924a18725 /doc/manual.asciidoc | |
parent | adcf925c45afb19eacaa9a78a6d2ff519ec466c0 (diff) | |
parent | 78f700c35c07b5ef5663716461852fbdee287817 (diff) | |
download | Ninja-0ccc7886fd4694ae1372d29b4954e2dd3be118be.zip Ninja-0ccc7886fd4694ae1372d29b4954e2dd3be118be.tar.gz Ninja-0ccc7886fd4694ae1372d29b4954e2dd3be118be.tar.bz2 |
Merge pull request #1624 from bungeman/patch-1
Recommend MD over MMD for header dependencies.
Diffstat (limited to 'doc/manual.asciidoc')
-rw-r--r-- | doc/manual.asciidoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/manual.asciidoc b/doc/manual.asciidoc index e2c631c..238e6c4 100644 --- a/doc/manual.asciidoc +++ b/doc/manual.asciidoc @@ -575,10 +575,10 @@ Use it like in the following example: ---- rule cc depfile = $out.d - command = gcc -MMD -MF $out.d [other gcc flags here] + command = gcc -MD -MF $out.d [other gcc flags here] ---- -The `-MMD` flag to `gcc` tells it to output header dependencies, and +The `-MD` flag to `gcc` tells it to output header dependencies, and the `-MF` flag tells it where to write them. deps |