diff options
author | marha <marha@users.sourceforge.net> | 2011-02-02 19:45:00 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-02-02 19:45:00 +0000 |
commit | 91ffb83a5f2a7a96cfa9fb3ab4e5a7f392894cba (patch) | |
tree | 2dd84a1577f7a4502545989e8daa863e9fd41038 /tools/mhmake/src/build.cpp | |
parent | 4ac42e387637b2e51a39aa39aa69e2ff97ba4c38 (diff) | |
download | vcxsrv-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.cpp | 2 |
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())
|