qmake/generators/win32/mingw_make.cpp
changeset 37 758a864f9613
parent 33 3e2da88830cd
equal deleted inserted replaced
36:ef0373b55136 37:758a864f9613
   195             generatePrint(QFileInfo(file.fileName()).absoluteFilePath());
   195             generatePrint(QFileInfo(file.fileName()).absoluteFilePath());
   196         }
   196         }
   197         QTextStream t(&file);
   197         QTextStream t(&file);
   198         t << "CREATE " << target << endl;
   198         t << "CREATE " << target << endl;
   199         for (QStringList::ConstIterator it = objList.constBegin(); it != objList.constEnd(); ++it) {
   199         for (QStringList::ConstIterator it = objList.constBegin(); it != objList.constEnd(); ++it) {
   200             if (QDir::isRelativePath(*it))
   200             t << "ADDMOD " << *it << endl;
   201 		t << "ADDMOD " << *it << endl;
       
   202 	    else
       
   203 		t << *it << endl;
       
   204         }
   201         }
   205         t << "SAVE" << endl;
   202         t << "SAVE" << endl;
   206 	t.flush();
   203 	t.flush();
   207         file.close();
   204         file.close();
   208     }
   205     }