Build-order dependencies

In addition to source dependencies, makefiles also contain build-order dependencies. For example:

hello.exe: hello.obj libhello.lib
      ...
libhello.lib: hello_env.obj hello_time.obj
      ...

These dependencies are buildable objects known as sub-targets. The executable hello.exe must be built after its sub-targets, object module hello.obj and library libhello.lib, and the library must be built after its sub-targets, object modules hello_env.obj and hello_time.obj.

DevOps Code ClearCase® does not detect build-order dependencies; you must include such dependencies in makefiles used with omake (or clearmake), as you do with other make variants.