<div dir="ltr">Hello!<div><br></div><div>Uncommon as it may be, "erl -make" is a valid way to make small projects that use an Emakefile. However, it can be the case that such a command fails:</div><div><br></div><div><div>$ erl -pa ebin -make</div><div>Recompile: src/packets</div><div>src/packets.erl:1: parameterized modules are no longer supported</div><div>src/packets.erl:10: variable 'PacketVer' is unbound</div></div><div><br></div><div>Contrary to other 'make' tools, this failure is *not* reflected in the return value of "erl -make":</div><div><br></div><div><div>$ echo $?</div><div>0</div></div><div><br></div><div>A simple way to fix this would be to add a function (say 'make:all_and_exit/0') which matches the return value of 'make:all/0' and exits with the correct code and also modify erlexec.c to call that function instead of 'make:all/0'.</div><div><br></div><div>Would such a patch be acceptable?</div><div><br></div><div>Best regards,</div><div><br></div><div>Stavros Aronis</div></div>