From c7f8f459bd9bb388aa06d2fb4564012d3eec3906 Mon Sep 17 00:00:00 2001 From: Yuchen Deng Date: Mon, 2 Apr 2012 11:40:58 +0800 Subject: [PATCH] Fix build all failed for 'TEMPLATE = aux' NMAKE : fatal error U1073: don't know how to make 'all' Stop. Change-Id: I387a417d37e38811706a1ff460df8ee581c6a33f Reviewed-by: Oswald Buddenhagen --- qmake/generators/win32/borland_bmake.cpp | 1 + qmake/generators/win32/mingw_make.cpp | 1 + qmake/generators/win32/msvc_nmake.cpp | 1 + 3 files changed, 3 insertions(+) diff --git a/qmake/generators/win32/borland_bmake.cpp b/qmake/generators/win32/borland_bmake.cpp index bf1041f..4c4ddf6 100644 --- a/qmake/generators/win32/borland_bmake.cpp +++ b/qmake/generators/win32/borland_bmake.cpp @@ -139,6 +139,7 @@ void BorlandMakefileGenerator::writeBuildRulesPart(QTextStream &t) { if (project->first("TEMPLATE") == "aux") { t << "first:" << endl; + t << "all:" << endl; return; } diff --git a/qmake/generators/win32/mingw_make.cpp b/qmake/generators/win32/mingw_make.cpp index c088e8e..e62221e 100644 --- a/qmake/generators/win32/mingw_make.cpp +++ b/qmake/generators/win32/mingw_make.cpp @@ -433,6 +433,7 @@ void MingwMakefileGenerator::writeBuildRulesPart(QTextStream &t) { if (project->first("TEMPLATE") == "aux") { t << "first:" << endl; + t << "all:" << endl; return; } diff --git a/qmake/generators/win32/msvc_nmake.cpp b/qmake/generators/win32/msvc_nmake.cpp index b48dd42..db6651c 100644 --- a/qmake/generators/win32/msvc_nmake.cpp +++ b/qmake/generators/win32/msvc_nmake.cpp @@ -344,6 +344,7 @@ void NmakeMakefileGenerator::writeBuildRulesPart(QTextStream &t) { if (project->first("TEMPLATE") == "aux") { t << "first:" << endl; + t << "all:" << endl; return; } -- 2.7.4