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, whether they are already up-to-date or not. The message is printed before SCons decides whether to build the target.