Skip to content

Commit e5dfbd9

Browse files
committed
Add note to docs about library lists
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
1 parent baefc12 commit e5dfbd9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/pages/cli/make.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ Next, assume that we want to do a incremental build of `ORD501.PGM`, which has
2424

2525
So that means that 4 objects are going to be rebuilt. Usually, parents always need to be rebuilt to ensure level checking happens. Sometimes, we don't want to rebuild the children because they haven't changed (and can depend on the library list to find the existing objects). **You can use option `-nc` to ensure no target children get built** as part of the make file.
2626

27+
### General rule for builds
28+
29+
To ensure library lists are supported correctly, the following rules are recommended:
30+
31+
* When building an object, always qualified the name of the object being built.
32+
* When referenceing an object, always use the unqualified name of the object so that the library list can be used to find the object.
33+
2734
### When is a incremental build right?
2835

2936
It is always recommended to do a incremental build when working in a new branch. Ensure that you have a library of objects from a previous full build on the library list.

0 commit comments

Comments
 (0)