What does @$ mean in makefile?

633 Views Asked by At

What does @$ mean in the below make recipe ?

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

Thanks

1

There are 1 best solutions below

0
On

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