summaryrefslogtreecommitdiffstats
path: root/mpcommon.mak
diff options
context:
space:
mode:
Diffstat (limited to 'mpcommon.mak')
-rw-r--r--mpcommon.mak3
1 files changed, 3 insertions, 0 deletions
diff --git a/mpcommon.mak b/mpcommon.mak
index 9c68b9acdd..2cdcf7f266 100644
--- a/mpcommon.mak
+++ b/mpcommon.mak
@@ -34,6 +34,9 @@ distclean:: clean
%.d: %.c
$(MPDEPEND_CMD) > $@
+%.d: %.cpp
+ $(MPDEPEND_CMD_CXX) > $@
+
%.ho: %.h
$(CC) $(CFLAGS) -Wno-unused -c -o $@ -x c $<