[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Side-effects during variable assignments?
From: |
Sébastien Hinderer |
Subject: |
Re: Side-effects during variable assignments? |
Date: |
Thu, 8 Jun 2023 15:48:19 +0200 |
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.