[erlang-questions] Re: Using the -M dependencies generator of erlc
Mon Apr 4 11:59:54 CEST 2011
-----BEGIN PGP SIGNED MESSAGE-----
On 03.04.2011 11:59, Matthew Sackman wrote:
> As the man page says, this is only for tracking header dependencies,
> which, IME, is at best only part of the story. Tracking behaviours and
> parse_transformers are just as, if not more, important.
You're completly right. When I made the patch to add dependencies
tracking (2007), I didn't knew about parse transform and totally forget
the behaviours. I'll fix this when I have some spare time.
> (...) you get just one file of additional dependencies which you can
> then -include into your Makefile).
Concerning the "Pbeam pollution", I kept GCC's behaviour, because my
goal was to add Erlang support to automake and I didn't want to mess up
too much with automake's code.
I'll fix the -MF option to be able to write all rules to one Makefile
(or add another option).
Thanks for your feedbacks to both of you!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
More information about the erlang-questions