This includes phony targets for each dependency in the the generated dependency file which allows building with `ninja` which doesn't like the phony targets[1] but also allows silencing `make` errors similar to gcc's -MP option.
[1] - https://github.com/ninja-build/ninja/issues/1184
https://bugzilla.gnome.org/show_bug.cgi?id=774368
7a8cbc6 glib-compile-resources: Add --generate-phony-targets flag
docs/reference/gio/glib-compile-resources.xml | 9 +++++++++
gio/glib-compile-resources.c | 24 +++++++++++++++++-------
2 files changed, 26 insertions(+), 7 deletions(-)
Upstream: git.gnome.org