diff options
author | robochat <rjsteed@talk21.com> | 2015-09-16 06:56:37 +0000 |
---|---|---|
committer | robochat <rjsteed@talk21.com> | 2015-09-16 06:56:37 +0000 |
commit | 1079fe87ac0b24e8a5f8d59b33bb649f709478d7 (patch) | |
tree | ae07281a9bee428fcf06e093780b9b5492b837ff /make.html.markdown | |
parent | 2508aa0269a9e4ef1542cafea7bfdf4105721be4 (diff) |
Adding a couple of lines about suffix rules to the pattern section
Diffstat (limited to 'make.html.markdown')
-rw-r--r-- | make.html.markdown | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/make.html.markdown b/make.html.markdown index 63eb3eb7..47e3b457 100644 --- a/make.html.markdown +++ b/make.html.markdown @@ -111,13 +111,20 @@ small/%.png: %.svg %.png: %.svg @echo this rule is chosen -# however make will use the first pattern rule that can make the target +# However make will use the first pattern rule that can make the target %.png: %.ps @echo this rule is not chosen if %.svg and %.ps are both present # make already has some pattern rules built-in. For instance, it knows # how to turn *.c files into *.o files. +# Older makefiles might use suffix rules instead of pattern rules +.png.ps: + @echo this rule is similar to a pattern rule. + +# Tell make about the suffix rule +.SUFFIXES: .png + #----------------------------------------------------------------------- # Variables #----------------------------------------------------------------------- |