Add text to an existing variable.
Section: Variables and assignment
Append to variable
makefile
makefile
CFLAGS += -Wall -WextraExplanation
Works with both recursive and simple variables.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Variables and assignment