As you can see in the console below, If the makefile(or subdir.mk) uses -MT”$(@:%.o=%.d)” then, when changing the header file, the project is not recompiled. Makefile simply states “Nothing to be done for all”. Which is not the outcome I’d expect. However, if I replaced -MT”$(@:%.o=%.d)” with -MT”$@” then, everything works as expected. If you […]