--- ./old/makefile.cpp 2013-07-02 10:09:38.000000000 +0300 +++ ./new/makefile.cpp 2013-08-24 14:54:34.216159100 +0300 @@ -619,7 +619,7 @@ //build up a list of compilers QList compilers; { - const char *builtins[] = { "OBJECTS", "SOURCES", "PRECOMPILED_HEADER", 0 }; + const char *builtins[] = { "OBJECTS", "SOURCES", "FORCE_COMPILE_SOURCES", "PRECOMPILED_HEADER", 0 }; for(x = 0; builtins[x]; ++x) { Compiler compiler; compiler.variable_in = builtins[x]; @@ -829,7 +829,7 @@ processSources(); //remove anything in SOURCES which is included (thus it need not be linked in) //all sources and generated sources must be turned into objects at some point (the one builtin compiler) - v["OBJECTS"] += createObjectList(v["SOURCES"]) + createObjectList(v["GENERATED_SOURCES"]); + v["OBJECTS"] += createObjectList(v["SOURCES"]) + createObjectList(v["FORCE_COMPILE_SOURCES"]) + createObjectList(v["GENERATED_SOURCES"]); //Translation files if(!project->isEmpty("TRANSLATIONS")) { @@ -2194,6 +2194,7 @@ { t << "####### Compile" << endl << endl; writeObj(t, "SOURCES"); + writeObj(t, "FORCE_COMPILE_SOURCES"); writeObj(t, "GENERATED_SOURCES"); t << "####### Install" << endl << endl;