Re: Side-effects during variable assignments?

Sébastien Hinderer <[email protected]>
Newsgroups gmane.comp.gnu.make.general
Message-ID <ZIHcIys/WvZjz5A+@jnana>
Paul Smith (2023/06/08 08:56 -0400):
> Sure.  Just use an $(eval ...) inside your variable assignment.  The
> eval function expands to the empty string after parsing its arguments
> as makefile code, and so it can be put pretty much anywhere.

Oh, thanks a lot! I did have the vague idea that it might work but kind
of didn't dare to believe it could be that simple.

All best!

Sébastien.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.