https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109183
--- Comment #13 from Allan W. Macdonald <allan.w.macdonald at gmail dot com> --- Ahhh, so, "to get back the old behaviour" (as @ Richard Biener put it), this seems to work (at least with my project): %.d: %.c gcc -MM -MD -dumpbase '' $< Not obvious in the gcc 11.3.0 manual.