Default Rules
Feature Description
The default rules define a collection of options, operators, common target atoms, metarules, and variables to be used when writing makefiles. These rules provide support for common languages, such as C, C++ and Java as well as many other features.
Impact
Productivity
- Simplified makefiles -- less time spent on makefile development.
- Easier to maintain.
- Eliminates redundancy in makefiles.
- Provides portability -- use same makefile on multiple platforms.
Build Accuracy
- Smaller, simplified makefiles are less error prone.
- Concentrate on what to build not how to build it.
Consequence of Not Having the Feature
- Large, verbose makefiles that are difficult to read and maintain.
Examples
See example makefile comparison.
Last Update: Thursday,19-Feb-09 12:25:15 CST