Linux › Section O · Development tools › Topic O.2

make

Once a program has more than a couple of source files, rebuilding it by hand becomes slow and error-prone. make reads a short description of what depends on what and runs only the commands needed to bring everything up to date.

In this topic

  • Why make exists
  • Targets, prerequisites and recipes
  • Worked example: a first Makefile
  • Built-in rules and timestamps
  • Worked example: a header change
  • Variables and automatic variables
  • Running make from the command line
  • Conventional targets
  • Organising a larger Makefile
  • Common mistakes to avoid
  • Key takeaways

This topic is part of Wuanberri Pro. Checking your access…

← Previous topicNext topic →