Back to repository

Variable scope and expansion timing

Choose when a Make variable expands and understand why included files share one parsed namespace.

Continue this concept

The summary remains public. Full access unlocks the complete variable scope and expansion timing explanation and worked examples.

View full-access options

See it in context

Follow the lessons that apply this concept, then inspect the repository at the exact commit behind each explanation.

GNU Make manual: The Two Flavors of Variables