[erlang-bugs] erl -make returns ok status after compilation error

Maxim Treskin zerthurd@REDACTED
Fri Oct 16 11:47:06 CEST 2009


Hello

Make in erlang dose not handles errors in compilation.

If some files in application broken, compilation with erlc returns 1,
while erl -make returns 0 what indicates that compilation i
successful.
So, when we uses Makefile, where some targets should been compiled
with erl -make, and when one target compilation is broken, make cannot
catch this.

Thank you

-- 
Maxim Treskin


More information about the erlang-questions mailing list