aboutsummaryrefslogtreecommitdiff
path: root/tools/mhmake/src
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
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')
-rw-r--r--tools/mhmake/src/build.cpp2
-rw-r--r--tools/mhmake/src/util.h2
2 files changed, 2 insertions, 2 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())
diff --git a/tools/mhmake/src/util.h b/tools/mhmake/src/util.h
index cb28ab80b..68ff03992 100644
--- a/tools/mhmake/src/util.h
+++ b/tools/mhmake/src/util.h
@@ -50,7 +50,7 @@
#define PLATFORM "linux"
#endif
-#define MHMAKEVER "2.4.3"
+#define MHMAKEVER "2.4.4"
class makecommand
{