glib-compile-resources: Fix creating depfile with other targets
glib-compile-resources: Fix creating depfile with other targets

Follow up to 87d76a5a9c from bug 745754

https://bugzilla.gnome.org/show_bug.cgi?id=773344

johne53/MB3Glib,johne53/MB3Glib,endlessm/glib,endlessm/glib,endlessm/glib,johne53/MB3Glib,johne53/MB3Glib,endlessm/glib,johne53/MB3Glib,johne53/MB3Glib,endlessm/glib