Fix Makefile subtargets
Commit c04b7a55d131006cf1061f3456f4c63a7436801e broke subtargets so every rule would just make 'first' (implicitly)
This commit is contained in:
parent
4135b6b323
commit
9fe4482de1
@ -2527,7 +2527,7 @@ MakefileGenerator::writeSubTargets(QTextStream &t, QList<MakefileGenerator::SubT
|
|||||||
t << " " << targets.at(target-1)->target << "-" << targetSuffixes.at(suffix) << "-ordered ";
|
t << " " << targets.at(target-1)->target << "-" << targetSuffixes.at(suffix) << "-ordered ";
|
||||||
if(project->isEmpty("QMAKE_NOFORCE"))
|
if(project->isEmpty("QMAKE_NOFORCE"))
|
||||||
t << " FORCE";
|
t << " FORCE";
|
||||||
writeSubMakeCall(t, out_directory_cdin, makefilein, out_directory_cdout);
|
writeSubMakeCall(t, out_directory_cdin, makefilein + " " + s, out_directory_cdout);
|
||||||
}
|
}
|
||||||
t << subtarget->target << "-" << targetSuffixes.at(suffix) << ": " << mkfile;
|
t << subtarget->target << "-" << targetSuffixes.at(suffix) << ": " << mkfile;
|
||||||
if(!subtarget->depends.isEmpty())
|
if(!subtarget->depends.isEmpty())
|
||||||
@ -2535,7 +2535,7 @@ MakefileGenerator::writeSubTargets(QTextStream &t, QList<MakefileGenerator::SubT
|
|||||||
"-"+targetSuffixes.at(suffix));
|
"-"+targetSuffixes.at(suffix));
|
||||||
if(project->isEmpty("QMAKE_NOFORCE"))
|
if(project->isEmpty("QMAKE_NOFORCE"))
|
||||||
t << " FORCE";
|
t << " FORCE";
|
||||||
writeSubMakeCall(t, out_directory_cdin, makefilein, out_directory_cdout);
|
writeSubMakeCall(t, out_directory_cdin, makefilein + " " + s, out_directory_cdout);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
t << endl;
|
t << endl;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user