mk: Fix build with removed header files

-MP "instructs CPP to add a phony target for each dependency other than the
main file, causing each to depend on nothing. These dummy rules work around
errors make gives if you remove header files without updating the Makefile to
match."
This commit is contained in:
Julien BERAUD 2015-11-25 13:45:26 +01:00 committed by Randy Mackay
parent 19f5c8f209
commit d7ff90326b

View File

@ -19,7 +19,7 @@ WARNFLAGSCXX = -Wno-reorder \
-Werror=uninitialized \
-Werror=init-self \
-Wno-missing-field-initializers
DEPFLAGS = -MD -MT $@
DEPFLAGS = -MD -MP -MT $@
CXXOPTS = -ffunction-sections -fdata-sections -fno-exceptions -fsigned-char
COPTS = -ffunction-sections -fdata-sections -fsigned-char