Mercurial > mplayer.hg
diff mpcommon.mak @ 26306:b7dfef4f7a01
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.
author | diego |
---|---|
date | Sun, 06 Apr 2008 21:56:11 +0000 |
parents | 36dae6fb85af |
children | 7abf7a9345d9 |
line wrap: on
line diff
--- a/mpcommon.mak Sun Apr 06 21:52:50 2008 +0000 +++ b/mpcommon.mak Sun Apr 06 21:56:11 2008 +0000 @@ -27,8 +27,8 @@ 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 $<