Check out my first novel, midnight's simulacra!

Makelint

From dankwiki
Revision as of 05:51, 2 June 2010 by Dank (talk | contribs)

lint (static analysis) for GNU Make.

Checks

  • Tabs rather than spaces in target definitions
  • Unconditional definition of common variables (CC, CFLAGS, etc)
  • Unnecessary specification of tools (gcc, install, etc)
  • Use of hardcoded paths outside the tree