Skip to content

Commit

Permalink
add advice for debugging pattern rules
Browse files Browse the repository at this point in the history
  • Loading branch information
hancush committed Feb 2, 2018
1 parent ed1c61c commit 80e51b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions make.md
Expand Up @@ -188,6 +188,7 @@ clean_%.csv: raw_%.csv
edit $^ | format > $@
```

**Note:** If your pattern rule fails, check the depedencies. If you've fat-fingered something or omitted the directory by mistake, Make will fail saying a recipe for the target doesn't exist (`make: *** No rule to make target BLAH. Stop.)`, [when in fact it's the dependency that's missing](https://stackoverflow.com/a/5194141/7142170).

#### Functions for Filenames

Expand Down

0 comments on commit 80e51b8

Please sign in to comment.