>> How could I generate an output file via a Make rule when the desired
>> content of the file is in a Make variable that's too big for the
>> command line?
>
> If you are using GNU make 4.0 or better you can use the $(file ...)
> function to write to a file (there is no limit, other than memory, to
> the size of a variable in GNU make and so no limit to the amount of
> content you can add to a file with the $(file ...) function), then
> invoke a shell script on that file instead of using "echo ...".
>
> https://www.gnu.org/software/make/manual/html_node/File-Function.html

Aha!  Thanks, that might do the trick!


        Stefan


_______________________________________________
Help-make mailing list
Help-make@gnu.org
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to