I have a really annoying problem - I need some externals files to be included into Makefile generated by my project (*.pro) file. In *.pro file I have a directive include(file.ext). So I can do something like this in my *.pro-file:
include(file1.mk)
include(file2.mk)
But when the Makefile is generated by qmake, these includes are not there. I habe to include those file somehow, cuz they contain very important definitions shared by all subprojects. How can I force qmake to generate a Makefile in wich contains these includes? Is there any way at all? Please, help, it's a real problem now...
P.S.: the only way I can "solve" the problem is to write this includes into Makefile myself:
include file1.mk
include file2.mk
But after rebuilding Makefile these strings disappear and I have to add it again manually, so that's not a reasonable solution...
Bookmarks