On 14 March 2016 at 14:22, Paul Smith <[email protected]> wrote:

> Something that seems to be a constant source of confusion for users is
> the fact that GNU make expands the entire recipe first, before it starts
> any rules.  Consider this recipe:
>
>   all:
>           @echo hi
>           @$(info there)
>
>
or indeed :

all:
        @mkdir output; $(file stuff>>output/file.txt)


Just to point out the obvious that this change wouldn't remove the need to
understand the order of expansion.


Regards,

Tim
_______________________________________________
Bug-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to