Is it possible to create a multi-line string variable in a Makefile

后端 未结 19 2008
借酒劲吻你
借酒劲吻你 2020-11-28 20:27

I want to create a makefile variable that is a multi-line string (e.g. the body of an email release announcement). something like

ANNOUNCE_BODY=\"
Version $         


        
19条回答
  •  感情败类
    2020-11-28 20:31

    Assuming you only want to print the content of your variable on standard output, there is another solution :

    do-echo:
        $(info $(YOUR_MULTILINE_VAR))
    

提交回复
热议问题