Use erlang.mk index for dependences