summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-04-06 21:56:11 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-04-06 21:56:11 +0000
commit8109559bf860d75a008f4b82f487ebac2b6fc2f0 (patch)
tree5f6effa1f190ab2b28a321b12f0bbd1d1f405f05
parent730bff7914c6f724e688d0551bc3938e20f39a94 (diff)
downloadmpv-8109559bf860d75a008f4b82f487ebac2b6fc2f0.tar.bz2
mpv-8109559bf860d75a008f4b82f487ebac2b6fc2f0.tar.xz
Use DEPEND_CMD as set by configure to generate dependency information instead
of hardcoding a gcc-specific command. This also fixes dependency generation for files in subdirectories. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26338 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--mpcommon.mak4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpcommon.mak b/mpcommon.mak
index beb5d834d7..47b2ad104b 100644
--- a/mpcommon.mak
+++ b/mpcommon.mak
@@ -27,8 +27,8 @@ clean::
distclean:: clean
rm -f .depend test test2
-dep depend::
- $(CC) -MM $(CFLAGS) $(SRCS_COMMON) $(SRCS_MPLAYER) $(SRCS_MENCODER) > .depend
+dep depend:: $(SRCS_COMMON) $(SRCS_MPLAYER) $(SRCS_MENCODER)
+ $(DEPEND_CMD) > .depend
%.ho: %.h
$(CC) $(CFLAGS) -Wno-unused -c -o $@ -x c $<