Report why a file is marked for rebuild
Modified: branches/xmlbuildsystem/reactos/tools/rbuild/automaticdependency.cpp

Modified: branches/xmlbuildsystem/reactos/tools/rbuild/automaticdependency.cpp
--- branches/xmlbuildsystem/reactos/tools/rbuild/automaticdependency.cpp	2005-03-14 19:38:13 UTC (rev 14069)
+++ branches/xmlbuildsystem/reactos/tools/rbuild/automaticdependency.cpp	2005-03-14 19:42:00 UTC (rev 14070)
@@ -406,8 +406,9 @@
 				assert ( sourceFile->youngestLastWriteTime != 0 );
 				if ( sourceFile->youngestLastWriteTime > sourceFile->lastWriteTime )
 				{
-					printf ( "Marking %s for rebuild\n",
-					         sourceFile->filename.c_str () );
+					printf ( "Marking %s for rebuild due to younger file %s\n",
+					         sourceFile->filename.c_str (),
+					         sourceFile->youngestFile->filename.c_str () );
 					timebuf.actime = sourceFile->youngestLastWriteTime;
 					timebuf.modtime = sourceFile->youngestLastWriteTime;
 					utime ( sourceFile->filename.c_str (),