Fix build all failed for 'TEMPLATE = aux'
authorYuchen Deng <loaden@gmail.com>
Mon, 2 Apr 2012 03:40:58 +0000 (11:40 +0800)
committerQt by Nokia <qt-info@nokia.com>
Mon, 2 Apr 2012 10:41:32 +0000 (12:41 +0200)
NMAKE : fatal error U1073: don't know how to make 'all'
Stop.

Change-Id: I387a417d37e38811706a1ff460df8ee581c6a33f
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
qmake/generators/win32/borland_bmake.cpp
qmake/generators/win32/mingw_make.cpp
qmake/generators/win32/msvc_nmake.cpp

index bf1041f..4c4ddf6 100644 (file)
@@ -139,6 +139,7 @@ void BorlandMakefileGenerator::writeBuildRulesPart(QTextStream &t)
 {
     if (project->first("TEMPLATE") == "aux") {
         t << "first:" << endl;
+        t << "all:" << endl;
         return;
     }
 
index c088e8e..e62221e 100644 (file)
@@ -433,6 +433,7 @@ void MingwMakefileGenerator::writeBuildRulesPart(QTextStream &t)
 {
     if (project->first("TEMPLATE") == "aux") {
         t << "first:" << endl;
+        t << "all:" << endl;
         return;
     }
 
index b48dd42..db6651c 100644 (file)
@@ -344,6 +344,7 @@ void NmakeMakefileGenerator::writeBuildRulesPart(QTextStream &t)
 {
     if (project->first("TEMPLATE") == "aux") {
         t << "first:" << endl;
+        t << "all:" << endl;
         return;
     }