[MPlayer-dev-eng] [PATCH]Dependencies for directories with multiple targets

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Jan 31 12:10:02 CET 2007


Hi!

Attached patch allows to make dependencies for second targets in directories 
that contain them (libmpdemux).

Carl Eugen
-------------- next part --------------
Index: mpcommon.mak
===================================================================
--- mpcommon.mak	(Revision 22091)
+++ mpcommon.mak	(Arbeitskopie)
@@ -27,6 +27,9 @@
 
 dep depend:
 	$(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
+ifneq ($(SRCS2),)
+	$(CC) -MM $(CFLAGS) $(SRCS2) 1>>.depend
+endif
 
 ifneq ($(wildcard .depend),)
 include .depend


More information about the MPlayer-dev-eng mailing list