-just-print(or -n)

来源:互联网 发布:中国网络诗歌 >> 首页 编辑:程序博客网 时间:2024/06/07 03:01

One of the most useful is -just-print(or -n) which tells make to display the commands it would execute for a particular target without actually executing them. This is particular valuable while writing makfiles. It is also possible to set almost any makefile variable on the command line to override the default value or the value set in the makefile.

最有用的命令之一——-just-print(or -n)告诉用于构建指定目标的make去显示它要执行而实际并没有执行的命令。对于写makefile具有非同寻常的意思。可用于去设置makefile中的指定的变量值或默认值。

原创粉丝点击