[MPlayer-cvslog] r26338 - trunk/mpcommon.mak
diego
subversion at mplayerhq.hu
Sun Apr 6 23:56:11 CEST 2008
Author: diego
Date: Sun Apr 6 23:56:11 2008
New Revision: 26338
Log:
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.
Modified:
trunk/mpcommon.mak
Modified: trunk/mpcommon.mak
==============================================================================
--- trunk/mpcommon.mak (original)
+++ trunk/mpcommon.mak Sun Apr 6 23:56:11 2008
@@ -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 $<
More information about the MPlayer-cvslog
mailing list