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. --- lib/compiler/doc/src/compile.xml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lib/compiler/doc/src/compile.xml') 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 + makedep_side_effect + +

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 + makedep option. +

+
+ {makedep_output, Output}

Writes generated rules to Output instead of the -- cgit v1.2.3