[prev in list] [next in list] [prev in thread] [next in thread]
List: autoconf
Subject: Re: Future plans for Autotools
From: Gavin Smith <gavinsmith0123 () gmail ! com>
Date: 2021-01-25 23:07:16
Message-ID: CAKPWYQ2ggTdA8CtcLmiwv1j52dBRr1Ku0D7XP8b+t21-CFr1Qg () mail ! gmail ! com
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic