[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Difficulties from the combination of functions "call" and "eval"
From: |
SF Markus Elfring |
Subject: |
Re: Difficulties from the combination of functions "call" and "eval" |
Date: |
Sun, 18 Jan 2015 20:50:19 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
> The rule of thumb is, if you're using $(eval ...) inside a recipe,
> you're doing something wrong.
Which make function should be used for recipe generation instead then?
> $(eval ...) is for parsing MAKEFILE content.
Do recipes belong also to each make script?
> There is only one situation I can think of where it _might_ make sense
> to use $(eval ...) inside a recipe: if you want to assign a make
> variable when the recipe is invoked.
I want to use also exactly this functionality.
> But a real need for this is rare;
I have got an opposite experience.
I need this immediately for the handling of rules with multiple
output files.
> usually there are simpler and more straightforward ways
> to get the result you're looking for.
I would like to know them so that I can optimise my make
source code more.
Regards,
Markus
- Re: Questionable line number in a message "missing separator"?, (continued)
- Re: Questionable line number in a message "missing separator"?, Philip Guenther, 2015/01/17
- Re: Difficulties from the combination of functions "call" and "eval", SF Markus Elfring, 2015/01/18
- Re: Difficulties from the combination of functions "call" and "eval", Philip Guenther, 2015/01/18
- Re: Difficulties from the combination of functions "call" and "eval", SF Markus Elfring, 2015/01/18
- Re: Difficulties from the combination of functions "call" and "eval", Norbert Thiebaud, 2015/01/18
- Re: Difficulties from the combination of functions "call" and "eval", Tim Murphy, 2015/01/18
- Re: Difficulties from the combination of functions "call" and "eval", SF Markus Elfring, 2015/01/18
- Re: Difficulties from the combination of functions "call" and "eval", Paul Smith, 2015/01/18
- Re: Difficulties from the combination of functions "call" and "eval", SF Markus Elfring, 2015/01/18
- Re: Difficulties from the combination of functions "call" and "eval", Paul Smith, 2015/01/18
- Re: Difficulties from the combination of functions "call" and "eval",
SF Markus Elfring <=
- Re: Difficulties from the combination of functions "call" and "eval", Paul Smith, 2015/01/18
- Re: Difficulties from the combination of functions "call" and "eval", SF Markus Elfring, 2015/01/18
- Re: Difficulties from the combination of functions "call" and "eval", Paul Smith, 2015/01/18
- Re: Conditional recipe execution, SF Markus Elfring, 2015/01/18
- Re: Conditional recipe execution, Paul Smith, 2015/01/18
- Re: Conditional recipe execution, SF Markus Elfring, 2015/01/19
- Re: Conditional recipe execution, SF Markus Elfring, 2015/01/23
- Re: Conditional recipe execution, Paul Smith, 2015/01/23
- Re: Conditional recipe execution, SF Markus Elfring, 2015/01/23
- Re: Conditional recipe execution, Paul Smith, 2015/01/23