Make: Difference between revisions

From miki
Jump to navigation Jump to search
No edit summary
Line 2: Line 2:


== References ==
== References ==
* [http://www.gnu.org/software/make/manual/make.html 'GNU' Make Manual]
* [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.