aboutsummaryrefslogtreecommitdiffstats
path: root/erts/doc
diff options
context:
space:
mode:
authorTony Rogvall <[email protected]>2017-12-06 02:28:29 +0100
committerTony Rogvall <[email protected]>2017-12-06 02:28:29 +0100
commitd455cf67203c29354ff792ea44aea09e7a2155f8 (patch)
treec7d09e1bbb1cd628fe9c9d70f99d6de1acee9785 /erts/doc
parentad484fc2003885e12b92ea49dcb1c71669761d62 (diff)
downloadotp-d455cf67203c29354ff792ea44aea09e7a2155f8.tar.gz
otp-d455cf67203c29354ff792ea44aea09e7a2155f8.tar.bz2
otp-d455cf67203c29354ff792ea44aea09e7a2155f8.zip
Add -MMD option to erlc
The compile option makedep_side_effect, erlc -MMD, instructs the compiler to emit dependencies and continue to compile as normal.
Diffstat (limited to 'erts/doc')
-rw-r--r--erts/doc/src/erlc.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/erts/doc/src/erlc.xml b/erts/doc/src/erlc.xml
index 7355be488b..2214b76a51 100644
--- a/erts/doc/src/erlc.xml
+++ b/erts/doc/src/erlc.xml
@@ -143,6 +143,14 @@
<p>Produces a Makefile rule to track header dependencies. The
rule is sent to <c>stdout</c>. No object file is produced.</p>
</item>
+
+ <tag><c>-MMD</c></tag>
+ <item>
+ <p>Generate dependencies as a side-effect. The object file
+ will be produced as normal. This option overrides the
+ option <c><![CDATA[-M]]></c>.</p>
+ </item>
+
<tag><c>-MF &lt;Makefile&gt;</c></tag>
<item>
<p>As option <c><![CDATA[-M]]></c>, except that the