xContents
4.1.2Input Files105
4.1.3Typical Contents of a Makefile106
4.1.4Running make108
4.1.5Shell to Execute Commands109
4.1.6Include Files109
4.2The make Rules110
4.2.1Anatomy of a Rule110
4.2.2A Basic Makefile111
4.2.3Another Example of Makefile113
4.2.4Explicit Rules118
4.2.5Implicit Rules118
4.3Using Variables119
4.3.1Defining Variables120
4.3.2Types of Variables120
4.3.3Pre-Defined Variables121
4.3.4Automatic Variables121
4.4Working with Multiple Makefiles and Directories122
4.4.1Makefile in The Top Directory123
4.4.2Makefile in common-dir Directory125
4.4.3Makefile in the ftp-dir Directory126
4.4.4Makefile in the tftp-dir Directory127
4.4.5Makefile in the dns-dir Directory127
4.4.6Building Everything128
4.4.7Cleaning Everything129
4.4.8Making Individual Targets129
4.5Special Features of make130
4.5.1Running Commands in Parallel130
4.5.2Non-Stop Execution130
4.6Control Structures and Directives131
4.6.1The ifeq Directive132
4.6.2The ifneq Directive132
4.6.3The ifdef Directive132
4.6.4The ifndef Directive133
4.6.5The for Control Structure133
4.7Getting the Latest Version and Installation133
4.7.1Compilation133
Next Page >>
<< Previous Page
Back to the Table of Contents