Problems with forced builds

Understand the problems with forced builds.

clearmake has a -u option (unconditional), which forces rebuilds. Using this option reduces the efficiency of derived object sharing. However, if you force clearmake to build a target when it would have winked in an existing DO, you create a new DO with the same configuration as an existing one. In such situations, a developer who expects a build to share a particular existing DO may get another, identically configured DO instead. This may confuse the team and waste disk space.

Use a flag file to force a rebuild, rather than using clearmake -u. (For more information, see Source dependencies declared explicitly.)