diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-04-06 21:56:11 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-04-06 21:56:11 +0000 |
commit | 8109559bf860d75a008f4b82f487ebac2b6fc2f0 (patch) | |
tree | 5f6effa1f190ab2b28a321b12f0bbd1d1f405f05 | |
parent | 730bff7914c6f724e688d0551bc3938e20f39a94 (diff) | |
download | mpv-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.mak | 4 |
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 $< |