Make/Makefile-Conventions
From Get docs
Next: Quick Reference, Previous: Missing, Up: Top [Contents][Index]
16 Makefile Conventions
This describes conventions for writing the Makefiles for GNU programs. Using Automake will help you write a Makefile that follows these conventions. For more information on portable Makefiles, see POSIX and Portable Make Programming in Autoconf.
• Makefile Basics | General conventions for Makefiles. | |
• Utilities in Makefiles | Utilities to be used in Makefiles. | |
• Command Variables | Variables for specifying commands. | |
• DESTDIR | Supporting staged installs. | |
• Directory Variables | Variables for installation directories. | |
• Standard Targets | Standard targets for users. | |
• Install Command Categories | Three categories of commands in the ‘install ’
rule: normal, pre-install and post-install. |