summaryrefslogtreecommitdiff
path: root/devdocs/gnu_make/canceling-rules.html
diff options
context:
space:
mode:
Diffstat (limited to 'devdocs/gnu_make/canceling-rules.html')
-rw-r--r--devdocs/gnu_make/canceling-rules.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/devdocs/gnu_make/canceling-rules.html b/devdocs/gnu_make/canceling-rules.html
new file mode 100644
index 00000000..6c536259
--- /dev/null
+++ b/devdocs/gnu_make/canceling-rules.html
@@ -0,0 +1,8 @@
+ <h1 class="subsection">Canceling Implicit Rules</h1> <p>You can override a built-in implicit rule (or one you have defined yourself) by defining a new pattern rule with the same target and prerequisites, but a different recipe. When the new rule is defined, the built-in one is replaced. The new rule’s position in the sequence of implicit rules is determined by where you write the new rule. </p> <p>You can cancel a built-in implicit rule by defining a pattern rule with the same target and prerequisites, but no recipe. For example, the following would cancel the rule that runs the assembler: </p> <div class="example"> <pre class="example">%.o : %.s
+</pre>
+</div><div class="_attribution">
+ <p class="_attribution-p">
+ Copyright © 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Free Software Foundation, Inc. <br>Licensed under the GNU Free Documentation License.<br>
+ <a href="https://www.gnu.org/software/make/manual/html_node/Canceling-Rules.html" class="_attribution-link">https://www.gnu.org/software/make/manual/html_node/Canceling-Rules.html</a>
+ </p>
+</div>