Makefile: Honor CPPFLAGS also when creating dependencies.
authorAndre Noll <maan@systemlinux.org>
Mon, 25 Jun 2012 16:23:15 +0000 (18:23 +0200)
committerAndre Noll <maan@systemlinux.org>
Mon, 25 Jun 2012 16:23:15 +0000 (18:23 +0200)
commita134d110dad79ec350f6883d473f29beadb06abe
tree1d2a7f1b385ddf15b4dcd08c1671c9ab330e681c
parentb28313671025c02d96f2dd7927018b8e54bf4fec
Makefile: Honor CPPFLAGS also when creating dependencies.

Makefile.deps is created using a cc -MM -MG command which might need
the CPPFLAGS provided by the user, just as the ordinary cc commands
for creating an object file.

For example, the user might have passed -I$HOME/include, since
libosl was installed in $HOME. In this case we need to pass
this to the cc command that creates the Makefile as well.
Makefile