Add CONFIG flag to use the compiler to generate makefile dependencies
authorTor Arne Vestbø <tor.arne.vestbo@nokia.com>
Mon, 24 Oct 2011 11:37:30 +0000 (13:37 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 24 Oct 2011 13:39:33 +0000 (15:39 +0200)
commit9f14f9239836ec9d7d1f0ba92343e57cd96b1b52
tree42e10c9435dc10c82c962b97d0989cf144c03d99
parent642fe4040b3b169b9377b6b5bad28a9189aefe2d
Add CONFIG flag to use the compiler to generate makefile dependencies

Using CONFIG+=GNUmake will enable dependency tracking using included
dependency files, but will use an implicit makefile rule to generate
each .d file.

We now support an additional CONFIG option, gcc_MD_depends, that
instead passes the -MD flag to a GCC (compatible) compiler. This
will generate a .d file as a side-effect of the normal compile
step.

Change-Id: Ib6ce1d93e7f07e316a345bf12aa6f2b4e9a6415d
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
qmake/generators/unix/unixmake2.cpp