From d5d809956b66acfdfdc14e357ed870a5d0b79631 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 12 Jan 2017 13:19:43 +0100 Subject: Update user guide --- guide/building.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'guide/building.html') diff --git a/guide/building.html b/guide/building.html index 6265bff..a3b19af 100644 --- a/guide/building.html +++ b/guide/building.html @@ -172,7 +172,10 @@ completely, either before or after including Erlang.mk:

:= operator.

include erlang.mk
 
-ERLC_OPTS := $(filter-out -Werror,$(ERLC_OPTS))

6.6.2. ERLC_EXCLUDE

ERLC_EXCLUDE can be used to exclude some modules from the +ERLC_OPTS := $(filter-out -Werror,$(ERLC_OPTS))

6.6.2. ERLC_ASN1_OPTS

ERLC_ASN1_OPTS can be used to pass compiler options when compiling +ASN.1 files. Please refer to the +asn1ct manual for the full list.

By default, Erlang.mk will leave this empty.

You can redefine this variable in your Makefile. +Please see the ERLC_OPTS section for instructions.

6.6.3. ERLC_EXCLUDE

ERLC_EXCLUDE can be used to exclude some modules from the compilation. It’s there for handling special cases, you should not normally need it.

To exclude a module, simply list it in the variable, either before or after including Erlang.mk:

ERLC_EXCLUDE = cowboy_http2

6.7. Cold and hot builds

The first time you run make, Erlang.mk will build everything.

The second time you run make, and all subsequent times, Erlang.mk -- cgit v1.2.3