Detailed article on writing Makefiles.
"A makefile is a collection of instructions that should be used to compile
Once you modify some source files, and type the command "make" (or "gmake"
if using GNU's make), your program will be recompiled using as few
compilation commands as possible.
Only the files you modified and those dependent upon them will be recompiled.
Of-course, this is not done via usage of magic. You need to supply the rules
for compiling various files and file types, and the list of dependencies
between files (if file "A" was changed, then files "B", "C" and "D" also
need to be re-compiled), but that only has to be done once." Automating Program Compilation - Writing Makefiles
(Submitted by Noel Wed Dec 14, 2005 )
Our content can be syndicated: Main page Mac Page
Copyright 1999-2005 Noel Davis. Noel also runs web sites about sailing and kayaking.
All trademarks are the property of their owners.
All articles are owned by their author