On 2016-01-05 15:18, Andrei Alexandrescu wrote:

There's been a recent discussion with Walter and Martin about using
wildcards in makefiles (which would obviate the necessity of being
explicit about files).

My understanding is that build scripts (including makefiles) are
recommended to include a manifest list of files that are part of the
project, as opposed to picking up files with wildcards. That way there's
less likelihood to pick up litter along with the legitimate files, or to
produce incomplete builds if some files are missing by mistake. The
underlying thesis is that that's a good kind of redundancy.

druntime already uses wildcards [1], if I read the makefile correctly, in some places.

[1] https://github.com/D-Programming-Language/druntime/blob/master/posix.mak#L147-L159

--
/Jacob Carlborg

Reply via email to