|
| From: | Edward Welbourne |
| Subject: | Re: simple assignment of target-specific variables |
| Date: | Tue, 9 Jun 2020 13:46:06 +0000 |
David Boyce (9 June 2020 15:10_
> I'm not saying this should be considered a bug but it's at least an
> "interesting result".
Indeed !
I presume the workaround is
TGTDATE := $(shell date)
$(TARGETS): DATE := $(TGTDATE)
at the slightly annoying price of calling the command once even if
making some target *not* in the TARGETS list.
Eddy.
| [Prev in Thread] | Current Thread | [Next in Thread] |