build: Combine rules for object files.
authorAndre Noll <maan@systemlinux.org>
Sun, 15 Sep 2013 01:19:50 +0000 (01:19 +0000)
committerAndre Noll <maan@systemlinux.org>
Sun, 1 Dec 2013 10:57:20 +0000 (11:57 +0100)
commit2f113b5e114ef62f2fd8d9f4445193e19cbfa690
tree893b541c09f2abf84c80d6b7ad4292fdbc0989ee
parent761d9bd95a6601c0b3be6591a6b6672b755e1fbe
build: Combine rules for object files.

Currently we have many similar recipes for compiling object files from
.c files that need non-standard CPPFLAGS. All rules are identical
except that different additional options to the $(CC) command are
required to build the object file. These additional options are
provided through various $(foo_cppflags) variables.

This commit avoids this duplication by adding the necessary flags to
CPPFLAGS instead. This way we can use the same rule for all object
files.
Makefile.in