[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Speeding up the bootstrap build - a quick hack.
From: |
Robert Pluim |
Subject: |
Re: Speeding up the bootstrap build - a quick hack. |
Date: |
Thu, 20 Jan 2022 10:25:26 +0100 |
>>>>> On Wed, 19 Jan 2022 21:32:30 +0000, Alan Mackenzie <acm@muc.de> said:
Alan> This was surprisingly difficult to solve. There appears to be no way
in
Alan> make to set a variable depending on what the target is. The make
manual
Alan> doesn't say this explicitly, it just depends on vagueness. After an
hour
Alan> of searching for such a feature, it gradually dawns on you that there
is
Alan> no such feature, even though one might be expected. I'm glad the
Emacs
Alan> manuals aren't like that.
"Target-specific Variable Values" in the Gnu Make info manual. eg
Makefile:
FOO=bar
default:
@echo FOO=$(FOO)
foo: FOO=foo
foo:
@echo FOO=$(FOO)
results:
> make
FOO=bar
> make foo
FOO=foo
Robert
--
- Re: Speeding up the bootstrap build - a quick hack., (continued)
- Re: Speeding up the bootstrap build - a quick hack., Stefan Monnier, 2022/01/18
- Re: Speeding up the bootstrap build - a quick hack., Alan Mackenzie, 2022/01/19
- Re: Speeding up the bootstrap build - a quick hack., Eli Zaretskii, 2022/01/19
- Re: Speeding up the bootstrap build - a quick hack., Alan Mackenzie, 2022/01/19
- Re: Speeding up the bootstrap build - a quick hack., Eli Zaretskii, 2022/01/19
- Re: Speeding up the bootstrap build - a quick hack., Alan Mackenzie, 2022/01/19
- Re: Speeding up the bootstrap build - a quick hack.,
Robert Pluim <=
- Re: Speeding up the bootstrap build - a quick hack., Alan Mackenzie, 2022/01/20
- Re: Speeding up the bootstrap build - a quick hack., Robert Pluim, 2022/01/20
- Re: Speeding up the bootstrap build - a quick hack., Robert Pluim, 2022/01/20
- Re: Speeding up the bootstrap build - a quick hack., Alan Mackenzie, 2022/01/20
- Re: Speeding up the bootstrap build - a quick hack., Stefan Monnier, 2022/01/20
- Re: Speeding up the bootstrap build - a quick hack., Robert Pluim, 2022/01/21
- Re: Speeding up the bootstrap build - a quick hack., Stephen Leake, 2022/01/21
- Re: Speeding up the bootstrap build - a quick hack., David Engster, 2022/01/21
- Re: Speeding up the bootstrap build - a quick hack., Robert Pluim, 2022/01/21
Re: Speeding up the bootstrap build - a quick hack., Andrea Corallo, 2022/01/24