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, and are called subtargets. The executable hello.exe must be built after its subtargets, object module hello.obj and library libhello.lib, and the library must be built after its subtargets, object modules hello_env.obj and hello_time.obj.
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.
|
Feedback on the documentation in this site? We welcome any comments!
Copyright © 2001 by Rational Software Corporation. All rights reserved. |