bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: simple assignment of target-specific variables


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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]