erl -make always recompiling

Joel Reymont <>
Sat May 6 16:16:31 CEST 2006


Folks,

Notice how the same files are recompiled twice. I don't do anything  
in between.

What would be the reason for this behavior and how can I fix it?

bigdaddy:~/work/Erlang/jabberlang/trunk joelr$ erl -pa ebin -make
Recompile: src/xmpp_callbacks.erl
Recompile: src/xmpp_echo.erl
Recompile: src/xmpp_echo_behaviour.erl
Recompile: src/xmpp_echo_behaviour2.erl
Recompile: src/xmpp_erlang_example.erl
Recompile: src/xmpp_iq.erl
bigdaddy:~/work/Erlang/jabberlang/trunk joelr$ erl -pa ebin -make
Recompile: src/xmpp_callbacks.erl
Recompile: src/xmpp_echo.erl
Recompile: src/xmpp_echo_behaviour.erl
Recompile: src/xmpp_echo_behaviour2.erl
Recompile: src/xmpp_erlang_example.erl
Recompile: src/xmpp_iq.erl

The Emakefile is below and the first two files are not recompiled.

{'src/gen_xmpp_client',          [{outdir, "ebin"},{i,"include"}]}.
{'src/xmpp',                     [{outdir, "ebin"},{i,"include"}]}.
{'src/xmpp_callbacks.erl',       [{outdir, "ebin"},{i,"include"}]}.
{'src/xmpp_echo.erl',            [{outdir, "ebin"}]}.
{'src/xmpp_echo_behaviour.erl',  [{outdir, "ebin"},{i,"include"}]}.
{'src/xmpp_echo_behaviour2.erl', [{outdir, "ebin"},{i,"include"}]}.
{'src/xmpp_erlang_example.erl',  [{outdir, "ebin"},{i,"include"}]}.
{'src/xmpp_iq.erl',              [{outdir, "ebin"}]}.
%{'error_logger_xmpp_h.erl',     [{outdir, "ebin"}]}.

	Thanks, Joel

--
http://wagerlabs.com/








More information about the erlang-questions mailing list