Because of a copy-and-paste error in erlc.c, the -MP flag had the same effect as -MG. As a workaround, you had to pass +makedep_phony to enable the MP option. This patch makes -MP work as intended. git fetch git://github.com/richcarl/otp.git fix-MP-compiler-flag /Richard