aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/development/make.md
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2020-09-18 20:22:54 +0200
committerjohannst <johannes.stoelp@gmail.com>2020-09-18 20:22:54 +0200
commite4db48ab1528771851bc7260fd1cb56fcb3cc6c9 (patch)
tree5eff824056b22d10c97a85e61863d6acb306ce4d /src/development/make.md
parent0bfbf564ff8f653d2412eb196bd362c76fee4ae6 (diff)
downloadnotes-e4db48ab1528771851bc7260fd1cb56fcb3cc6c9.tar.gz
notes-e4db48ab1528771851bc7260fd1cb56fcb3cc6c9.zip
added make -p note
Diffstat (limited to 'src/development/make.md')
-rw-r--r--src/development/make.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/development/make.md b/src/development/make.md
index 751b460..99dba36 100644
--- a/src/development/make.md
+++ b/src/development/make.md
@@ -11,6 +11,8 @@ target .. : prerequisite ..
- `prerequisite`: an input that is used to generate the target
- `recipe`: list of actions to generate the output from the input
+> Use `make -p` to print all rules and variables (implicitly + explicitly defined).
+
## Pattern rules & Automatic variables
### Pattern rules
A pattern rule contains the `%` char (exactly one of them) and look like this example: