28.8. Watch SCons prepare targets for building: the --debug=prepare Option

Sometimes SCons doesn't build the target you want and it's difficult to figure out why. You can use the --debug=prepare option to see all the targets SCons is considering, and whether they are already up-to-date or not. The message is printed before SCons decides whether to build the target.