Pass a variable into the shell environment of recipe commands.
Section: Variables and assignment
Export variable to recipes
makefile
makefile
export AWS_PROFILE := prod-adminExplanation
Exported variables are inherited by recipe shells and recursive make invocations.
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