From d455cf67203c29354ff792ea44aea09e7a2155f8 Mon Sep 17 00:00:00 2001 From: Tony Rogvall Date: Wed, 6 Dec 2017 02:28:29 +0100 Subject: 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. --- erts/doc/src/erlc.xml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'erts/doc/src') 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 @@

Produces a Makefile rule to track header dependencies. The rule is sent to stdout. No object file is produced.

+ + -MMD + +

Generate dependencies as a side-effect. The object file + will be produced as normal. This option overrides the + option .

+
+ -MF <Makefile>

As option , except that the -- cgit v1.2.3