>_ IzzyLab

Topic breakdown

Variables in a Makefile are just plain text substitution without types: declared as NAME = value and expanded via $(NAME) at the moment the recipe runs. The special target .PHONY marks target names as "always commands, not files": without it, the appearance of a file with the same name in the directory will make make consider the target already built and skip the recipe. The classic format trap — recipe lines must start with a tab character, not spaces.

What's checked

  1. greet prints hello izzylab
  2. greet is declared in .PHONY
  3. The name comes from the APP variable

What it looks like