From 8109559bf860d75a008f4b82f487ebac2b6fc2f0 Mon Sep 17 00:00:00 2001 From: diego Date: Sun, 6 Apr 2008 21:56:11 +0000 Subject: 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 --- mpcommon.mak | 4 ++-- 1 file 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 $< -- cgit v1.2.3