diff options
| author | robochat <rjsteed@talk21.com> | 2015-09-22 08:39:33 +0000 | 
|---|---|---|
| committer | robochat <rjsteed@talk21.com> | 2015-09-22 08:39:33 +0000 | 
| commit | 3fcea9a3fd69be5f2b55c104c27252d58e7a7cee (patch) | |
| tree | ecd6118e57499c170d79eae720bacc608a904682 /make.html.markdown | |
| parent | a020a82521904da6289ada6c12904e75d4abab0b (diff) | |
can't use % stems in the recipe itself.
Diffstat (limited to 'make.html.markdown')
| -rw-r--r-- | make.html.markdown | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/make.html.markdown b/make.html.markdown index 244d96e0..75543dcd 100644 --- a/make.html.markdown +++ b/make.html.markdown @@ -97,7 +97,7 @@ process: ex1.txt file0.txt  # Can teach make how to convert certain files into other files.
  %.png: %.svg
 -	inkscape --export-png %.svg
 +	inkscape --export-png $^
  # Pattern rules will only do anything if make decides to create the \
  target.
 @@ -105,7 +105,7 @@ target.  # Directory paths are normally ignored when matching pattern rules. But
  # make will try to use the most appropriate rule available.
  small/%.png: %.svg
 -	inkscape --export-png --export-dpi 30 %.svg
 +	inkscape --export-png --export-dpi 30 $^
  # make will use the last version for a pattern rule that it finds.
  %.png: %.svg
 @@ -113,7 +113,7 @@ small/%.png: %.svg  # 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
 +	@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.
  | 
