简体   繁体   中英

What does @$ mean in makefile?

What does @$ mean in the below make recipe ?

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

Thanks

The @ sign in the beginning of the recipe command means "do not echo the command".

The $(OBJCOPY) in your recipe command means "substitute here the value of the OBJCOPY variable".

For more info about recipe echoing, please refer to https://www.gnu.org/software/make/manual/make.html#Echoing

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM