> 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 _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make