O'Reilly logo
  • Bhaskar Bhat thinks this is interesting:

The rule to remember is this: command line beats makefile beats environment. A variable defined on the command line takes precedence over the same variable defined in a makefile, which will take precedence over the same variable defined in the environment.

From

Cover of The GNU Make Book

Note

Rule