Makefile: Difference between revisions

No change in size ,  13 years ago
m
→‎Basics: sp (build -> built)
[unchecked revision][unchecked revision]
(Started reworking the article after reworking the PDCLib Makefile - some things not quite correct in here, will continue tonight.)
m (→‎Basics: sp (build -> built))
Line 40:
What makes makefiles so hard to read, for the beginner, is that we are not looking at an imperative program here that is executed top-down; 'make' reads the ''whole'' makefile, building a dependency tree, and then resolves the dependencies by hopping from rule to rule until the target you gave it on the command line has successfully been resolved.
 
I won't go into further details. This is not a man page, but a tutorial, so I will show you how a makefile is buildbuilt, and the ideas behind each line.
 
== File Lists ==
Anonymous user