aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/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 /lib/compiler/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 'lib/compiler/doc')
-rw-r--r--lib/compiler/doc/src/compile.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/compiler/doc/src/compile.xml b/lib/compiler/doc/src/compile.xml
index b398871ddf..06afc55c07 100644
--- a/lib/compiler/doc/src/compile.xml
+++ b/lib/compiler/doc/src/compile.xml
@@ -233,6 +233,15 @@ module.beam: module.erl \
header.hrl</code>
</item>
+ <tag><c>makedep_side_effect</c></tag>
+ <item>
+ <p>The dependecies are created as a side effect to the
+ normal compilation process. This means that the object
+ file will also be produced. This option override the
+ <c>makedep</c> option.
+ </p>
+ </item>
+
<tag><c>{makedep_output, Output}</c></tag>
<item>
<p>Writes generated rules to <c>Output</c> instead of the