Make: Difference between revisions

From miki
Jump to navigation Jump to search
Line 2: Line 2:


== References ==
== References ==
* [http://www.gnu.org/software/make/manual/make.html GNU 'Make' Manual]
* [http://www.gnu.org/software/make/ GNU 'Make']
** [http://www.gnu.org/software/make/manual/make.html Manual]


== Essential Tips ==
== Essential Tips ==

Revision as of 12:05, 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.