summaryrefslogtreecommitdiff
path: root/doc/tutorial
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tutorial')
-rw-r--r--doc/tutorial/target-file-glob-tree.org4
-rw-r--r--doc/tutorial/tests.org2
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/tutorial/target-file-glob-tree.org b/doc/tutorial/target-file-glob-tree.org
index bc1d388d..72ea1732 100644
--- a/doc/tutorial/target-file-glob-tree.org
+++ b/doc/tutorial/target-file-glob-tree.org
@@ -282,7 +282,7 @@ attempt of defining the binary is as follows.
, "units":
{ "type": ["@", "rules", "CC", "binary"]
, "name": ["units"]
- , "link external": ["-lm"]
+ , "private-ldflags": ["-lm"]
, "pure C": ["YES"]
, "srcs": [["GLOB", null, "*.c"]]
, "private-hdrs": [["GLOB", null, "*.h"]]
@@ -345,7 +345,7 @@ Then we amend our ~"units"~ target.
, "units":
{ "type": ["@", "rules", "CC", "binary"]
, "name": ["units"]
- , "link external": ["-lm"]
+ , "private-ldflags": ["-lm"]
, "pure C": ["YES"]
, "srcs": ["patched srcs"]
, "private-hdrs": [["GLOB", null, "*.h"]]
diff --git a/doc/tutorial/tests.org b/doc/tutorial/tests.org
index f8ad0f6d..d05eb945 100644
--- a/doc/tutorial/tests.org
+++ b/doc/tutorial/tests.org
@@ -81,7 +81,7 @@ the rule ~["@", "rules", "CC/test", "test"]~ and needs to depend on the
{ "type": ["@", "rules", "CC/test", "test"]
, "name": ["test_greet"]
, "srcs": ["greet.test.cpp"]
- , "deps": ["greet"]
+ , "private-deps": ["greet"]
}
}
#+END_SRC