Check out my first novel, midnight's simulacra!
Makelint: Difference between revisions
From dankwiki
(Created page with '<tt>lint</tt> (static analysis) for GNU Make.') |
No edit summary |
||
Line 1: | Line 1: | ||
<tt>lint</tt> (static analysis) for [[GNU Make]]. | <tt>lint</tt> (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 (<tt>gcc</tt>, <tt>install</tt>, etc) | |||
* Use of hardcoded paths outside the tree |
Revision as of 05:51, 2 June 2010
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