makefile - makefile中@$是什么意思?

标签 makefile gnu-make automatic-variable

下面的制作配方中@$是什么意思?

@$(OBJCOPY) -S --set-section-flags .bss=alloc,contents -O 二进制 $(BINARY).elf $(BINARY).bin

谢谢

最佳答案

配方命令开头的@符号表示“不回显该命令”。

配方命令中的 $(OBJCOPY) 表示“在此替换 OBJCOPY 变量的值”。

有关配方回显的更多信息,请参阅https://www.gnu.org/software/make/manual/make.html#Echoing

关于makefile - makefile中@$是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69946504/

相关文章:

powershell - 将参数作为数组传递给 PowerShell 函数

makefile - Autotools 的默认编译器标志

c++ - 我的 MakeFile 找不到我的头目录

c++ -/usr/bin/ld : cannot open output file bin/genericMatching: No such file or directory

c - 如何使 Makefile 仅重新编译已更改的文件?

makefile - LINK.cpp/COMPILE.cpp 变量在 make 中有何用处?

makefile - 如何在 makefile 中的另一个规则中运行模式规则?

makefile - GNU Make 简单扩展变量和自动变量