这是一个创建于 3600 天前的主题,其中的信息可能已经有所发展或是发生改变。
在学 unix 的 make 命令,其中:
# 加 @ 符号
Makefile:
hello: ; @
echo "hello"
输出:
$ make
hello
# 不加 @
$ make
echo "hello"
hello
为啥捏
1 条回复 • 2014-07-23 16:25:33 +08:00
|
|
1
churchmice 2014-07-23 16:25:33 +08:00 1
makefile里面的@是用来suppress command的 不加@会把要执行的command也打出来,洁癖患者可以加@让这个command不打出来 顺便这是makefile的东西,不是unix的
|