Build-order dependencies
In addition to source dependencies, makefiles also contain build-order dependencies.
For example:
hello: hello.o libhello.a
...
libhello.a: hello_env.o hello_time.o
...
These dependencies are buildable objects known as subtargets. The executable hello must be built
after its subtargets, object module hello.o
and library
libhello.a
, and the library must be built after its subtargets, object modules
hello_env.o
and hello_time.o
.
HCL VersionVault does not detect build-order dependencies; you must include such dependencies in makefiles used with clearmake, as you do with other make variants.