Build: add -MP option to add dummy rules to *.d files
This adds a phony target for each dependency other than the main
file, causing each to depend on nothing.

Without this, the incremental build will fail when a header file
is removed.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
1 parent 710ea1d commit 1d274ab00fce999b9ce39849d1db984aa59ae015
@Masahiro Yamada Masahiro Yamada authored on 22 Dec 2016
Showing 1 changed file
View
make_helpers/build_macros.mk