mk: add CXXDFLAGS
# CCACHE Compiler ccache tool
# CFLAGS Compiler flags
# DFLAGS Dependency generator flags
+# CXXDFLAGS Dependency generator flags (C++)
# LFLAGS Common linker flags
# LIBS Libraries to link against
# LIB_SUFFIX Suffix for shared libraries
@@ -82,6 +83,7 @@ endif
# Compiler dependency flags
DFLAGS = -MD -MF $(@:.o=.d) -MT $@
+CXXDFLAGS = -MD -MF $(@:.o=.d) -MT $@
##############################################################################
#
