emacs-devel
[Top][All Lists]
Advanced

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

Re: Speeding up the bootstrap build - a quick hack.


From: David Engster
Subject: Re: Speeding up the bootstrap build - a quick hack.
Date: Fri, 21 Jan 2022 11:42:50 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.90 (gnu/linux)

> Alan Mackenzie <acm@muc.de> writes:
>
>> This was surprisingly difficult to solve.  There appears to be no way in
>> make to set a variable depending on what the target is.
>
> target :: VARIABLE := "value"
> targ
> Sets VARIABLE to value only while executing target.
>
> I could not find the section in the make manual that says this, but it
> must be there somewhere - that's how I learned it :(.

It's called target-specific variables:

https://www.gnu.org/software/make/manual/html_node/Target_002dspecific.html

-David



reply via email to

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