Meaning of '@' in “@set -e” command in Makefiles [duplicate]

霸气de小男生 提交于 2019-12-11 03:19:54

问题


In Makefile, in commands of the form

all: @set -e; \ do more stuff

I know the set -e commands the shell to to exit on failure. What is the significance of the @ attached to set?


回答1:


In a Makefile, the @ symbol means that the command is not echoed to the screen when it is run.



来源:https://stackoverflow.com/questions/27400830/meaning-of-in-set-e-command-in-makefiles

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!