Make: Difference between revisions
Jump to navigation
Jump to search
(Created page with '<tt>make</tt> is an utility that determines automatically which pieces of a program need to be recompiled, and issues the commands to rebuild them. <tt>make</tt> uses a file call…') |
No edit summary |
||
Line 1: | Line 1: | ||
<tt>make</tt> is an utility that determines automatically which pieces of a program need to be recompiled, and issues the commands to rebuild them. <tt>make</tt> uses a file called <tt>Makefile</tt>, which describes the relationships among files in the program. |
<tt>make</tt> is an utility that determines automatically which pieces of a program need to be recompiled, and issues the commands to rebuild them. <tt>make</tt> uses a file called <tt>Makefile</tt>, which describes the relationships among files in the program. |
||
== References == |
|||
* [http://www.gnu.org/software/make/manual/make.html 'GNU' Make Manual] |
|||
== Essential Tips == |
== Essential Tips == |
Revision as of 12:03, 30 September 2011
make is an utility that determines automatically which pieces of a program need to be recompiled, and issues the commands to rebuild them. make uses a file called Makefile, which describes the relationships among files in the program.
References
Essential Tips
- Use TABS to prefix commands in rules, *NOT* SPACES
- Each rule in a makefile gives the set of commands that must be executed to build a given target from a given set of dependencies. These commands MUST be indented with a TAB character, not with SPACES. So make sure that the editor does not automatically change these tabs into spaces.