aboutsummaryrefslogtreecommitdiff
path: root/tools/mhmake/src/build.cpp
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-02-02 19:45:00 +0000
committermarha <marha@users.sourceforge.net>2011-02-02 19:45:00 +0000
commit91ffb83a5f2a7a96cfa9fb3ab4e5a7f392894cba (patch)
tree2dd84a1577f7a4502545989e8daa863e9fd41038 /tools/mhmake/src/build.cpp
parent4ac42e387637b2e51a39aa39aa69e2ff97ba4c38 (diff)
downloadvcxsrv-91ffb83a5f2a7a96cfa9fb3ab4e5a7f392894cba.tar.gz
vcxsrv-91ffb83a5f2a7a96cfa9fb3ab4e5a7f392894cba.tar.bz2
vcxsrv-91ffb83a5f2a7a96cfa9fb3ab4e5a7f392894cba.zip
Solved problem of autodeps not checked when target does not exist and should build with implicit rule
Diffstat (limited to 'tools/mhmake/src/build.cpp')
-rw-r--r--tools/mhmake/src/build.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mhmake/src/build.cpp b/tools/mhmake/src/build.cpp
index 8737bb268..f45624843 100644
--- a/tools/mhmake/src/build.cpp
+++ b/tools/mhmake/src/build.cpp
@@ -1456,7 +1456,7 @@ mh_time_t mhmakefileparser::StartBuildTarget(fileinfo* pTarget,bool bCheckTarget
pRule->PrintCommands(pTarget);
}
#endif
- if (ThisYoungestDate.IsNewer(TargetDate))
+ if (!TargetDate.DoesExist() || ThisYoungestDate.IsNewer(TargetDate))
{
#ifdef _DEBUG
if (pRule,g_pPrintDependencyCheck && ThisYoungestDate.IsExistingFile() && TargetDate.IsExistingFile())