[prev] [index] [next]

Dependencies

The make command is based on the notion of dependencies.

Each rule in a Makefile describes:

  • dependencies between each target and its sources
  • commands to build the target from its sources
Make decides that a target needs to be rebuilt if
  • it is older than any of its sources   (based on file modification times)