Is there any way for “make” to echo commands

前端 未结 2 1058
失恋的感觉
失恋的感觉 2021-02-07 09:22

Is there a way to have make echo commands that are manually suppressed with @ in the makefile? I can\'t find this in the help or man page, it just says

2条回答
  •  自闭症患者
    2021-02-07 10:01

    The most obvious idea is to change the shell that runs the commands, e.g. add:

    SHELL = sh -xv
    

    to your makefile.

提交回复
热议问题