autoconf
[Top][All Lists]
Advanced

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

Re: Future plans for Autotools


From: Gavin Smith
Subject: Re: Future plans for Autotools
Date: Mon, 25 Jan 2021 23:07:16 +0000

On Mon, Jan 25, 2021 at 10:59 PM Gavin Smith <gavinsmith0123@gmail.com> wrote:
> storing the value that should be in CC in the file CC.conf.  Does this
> work or does GNU make have other ways of doing this?  (It would be
> better if it could be done without communicating via files.)  Is there
> any way to set a Makefile variable from within a rule and then depend upon
> that variable being set in other rules?

Replying to self: I read that there is something called an "order-only
prerequisite" that could be for the rule that sets CC. This would be
set using the $(eval ...) construct. Somebody who knows more than me
about GNU make could confirm.

https://www.gnu.org/software/make/manual/make.html#Prerequisite-Types



reply via email to

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