Adding comments to Makefile

前端 未结 5 924
时光取名叫无心
时光取名叫无心 2021-02-13 19:15

How do I add comments (with echo) in a Makefile so that they\'re printed when ran?

5条回答
  •  旧巷少年郎
    2021-02-13 19:35

    Since a makefile mostly contains commands to be run when building specific targets, I'd say you use just that: echo.

提交回复
热议问题