|
Lines 1133-1149
Link Here
|
| 1133 |
<para><command>make</command> will then only look at that target |
1133 |
<para><command>make</command> will then only look at that target |
| 1134 |
and ignore any others. For example, if we type |
1134 |
and ignore any others. For example, if we type |
| 1135 |
<userinput>make foo</userinput> with the makefile above, make |
1135 |
<userinput>make foo</userinput> with the makefile above, make |
| 1136 |
will ignore the <action>install</action> target.</para> |
1136 |
will ignore the <maketarget>install</maketarget> target.</para> |
| 1137 |
|
1137 |
|
| 1138 |
<para>If we just type <userinput>make</userinput> on its own, |
1138 |
<para>If we just type <userinput>make</userinput> on its own, |
| 1139 |
make will always look at the first target and then stop |
1139 |
make will always look at the first target and then stop |
| 1140 |
without looking at any others. So if we typed |
1140 |
without looking at any others. So if we typed |
| 1141 |
<userinput>make</userinput> here, it will just go to the |
1141 |
<userinput>make</userinput> here, it will just go to the |
| 1142 |
<action>foo</action> target, re-compile |
1142 |
<maketarget>foo</maketarget> target, re-compile |
| 1143 |
<filename>foo</filename> if necessary, and then stop without |
1143 |
<filename>foo</filename> if necessary, and then stop without |
| 1144 |
going on to the <action>install</action> target.</para> |
1144 |
going on to the <maketarget>install</maketarget> target.</para> |
| 1145 |
|
1145 |
|
| 1146 |
<para>Notice that the <action>install</action> target does not |
1146 |
<para>Notice that the <maketarget>install</maketarget> target does not |
| 1147 |
actually depend on anything! This means that the command on |
1147 |
actually depend on anything! This means that the command on |
| 1148 |
the following line is always executed when we try to make that |
1148 |
the following line is always executed when we try to make that |
| 1149 |
target by typing <userinput>make install</userinput>. In this |
1149 |
target by typing <userinput>make install</userinput>. In this |