Skip to content

Commit ff2ad79

Browse files
committed
Clarify priorities
1 parent d8cf24d commit ff2ad79

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docs/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -760,6 +760,7 @@ <h2 id="static-pattern-rules">Static Pattern Rules</h2>
760760
<span class="hljs-section">all.c:</span>
761761
echo <span class="hljs-string">"int main() { return 0; }"</span> &gt; all.c
762762

763+
<span class="hljs-comment"># Note: all.c does not use this rule because Make prioritizes more specific matches when there is more than one match.</span>
763764
<span class="hljs-section">%.c:</span>
764765
touch <span class="hljs-variable">$@</span>
765766

src/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,7 @@ $(objects): %.o: %.c
397397
all.c:
398398
echo "int main() { return 0; }" > all.c
399399

400+
# Note: all.c does not use this rule because Make prioritizes more specific matches when there is more than one match.
400401
%.c:
401402
touch $@
402403

0 commit comments

Comments
 (0)