Table of Contents
10.2.4 Special Macros ......................................................................................................................... 96
10.3 Dependency Declarations .................................................................................................................. 98
10.4 Multiple Dependents ......................................................................................................................... 99
10.5 Multiple Targets ................................................................................................................................ 99
10.6 Multiple Rules ................................................................................................................................... 100
10.7 Command Lists ................................................................................................................................. 101
10.8 Final Commands (.AFTER) .............................................................................................................. 102
10.9 Ignoring Dependent Timestamps (.ALWAYS) ................................................................................ 102
10.10 Automatic Dependency Detection (.AUTODEPEND) ................................................................... 103
10.11 Initial Commands (.BEFORE) ........................................................................................................ 103
10.12 Disable Implicit Rules (.BLOCK) ................................................................................................... 103
10.13 Ignoring Errors (.CONTINUE) ....................................................................................................... 103
10.14 Default Command List (.DEFAULT) ............................................................................................. 104
10.15 Erasing Targets After Error (.ERASE) ........................................................................................... 104
10.16 Error Action (.ERROR) .................................................................................................................. 105
10.17 Ignoring Target Timestamp (.EXISTSONLY) ............................................................................... 105
10.18 Specifying Explicitly Updated Targets (.EXPLICIT) ..................................................................... 105
10.19 Defining Recognized File Extensions (.EXTENSIONS) ................................................................ 106
10.20 Approximate Timestamp Matching (.FUZZY) ............................................................................... 107
10.21 Preserving Targets After Error (.HOLD) ........................................................................................ 107
10.22 Ignoring Return Codes (.IGNORE) ................................................................................................ 107
10.23 Minimising Target Timestamp (.JUST_ENOUGH) ....................................................................... 108
10.24 Updating Targets Multiple Times (.MULTIPLE) ........................................................................... 108
10.25 Ignoring Target Timestamp (.NOCHECK) ..................................................................................... 109
10.26 Cache Search Path (.OPTIMIZE) .................................................................................................... 109
10.27 Preserving Targets (.PRECIOUS) ................................................................................................... 110
10.28 Name Command Sequence (.PROCEDURE) ................................................................................. 110
10.29 Re-Checking Target Timestamp (.RECHECK) .............................................................................. 110
10.30 Suppressing Terminal Output (.SILENT) ....................................................................................... 111
10.31 Defining Recognized File Extensions (.SUFFIXES) ...................................................................... 112
10.32 Targets Without Any Dependents (.SYMBOLIC) .......................................................................... 112
10.33 Macros ............................................................................................................................................. 113
10.34 Implicit Rules .................................................................................................................................. 122
10.35 Double Colon Explicit Rules ........................................................................................................... 131
10.36 Preprocessing Directives ................................................................................................................. 132
10.36.1 File Inclusion .......................................................................................................................... 132
10.36.2 Conditional Processing ........................................................................................................... 135
10.36.3 Loading Dynamic Link Libraries ........................................................................................... 139
10.37 Command List Directives ................................................................................................................ 141
10.38 MAKEINIT File .............................................................................................................................. 142
10.39 Command List Execution ................................................................................................................ 143
10.39.1 echo command ........................................................................................................................ 144
10.39.2 set command ........................................................................................................................... 145
10.39.3 for command ........................................................................................................................... 146
10.39.4 if command ............................................................................................................................. 147
10.39.5 rm command ........................................................................................................................... 147
10.39.6 mkdir command ...................................................................................................................... 147
10.39.7 rmdir command ...................................................................................................................... 148
10.39.8 Make internal commands ........................................................................................................ 148
10.40 Compatibility Between Open Watcom Make and UNIX Make ...................................................... 151
10.41 Open Watcom Make Diagnostic Messages ..................................................................................... 152
vii