From 91ffb83a5f2a7a96cfa9fb3ab4e5a7f392894cba Mon Sep 17 00:00:00 2001 From: marha Date: Wed, 2 Feb 2011 19:45:00 +0000 Subject: Solved problem of autodeps not checked when target does not exist and should build with implicit rule --- tools/mhmake/src/build.cpp | 2 +- tools/mhmake/src/util.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/mhmake/src') 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 { -- cgit v1.2.3