Name

MK_HEADERDEPS — Common header dependencies

Synopsis

MODULES="... compiler ..."
mk_declare -i MK_HEADERDEPS

Description

All headers listed in this variable will be implicitly added to the HEADERDEPS list of compiler functions such as mk_program. It does not affect configure tests.

This helps avoid repetition of consistently-used header dependencies across a larger project. Care should be taken to avoid abusing it, however, as bloated dependency lists needlessly slow down make.