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

Diego Biurrun diego at biurrun.de
Thu Feb 1 02:08:48 CET 2007


On Wed, Jan 31, 2007 at 12:10:02PM +0100, Carl Eugen Hoyos wrote:
> 
> Attached patch allows to make dependencies for second targets in directories 
> that contain them (libmpdemux).
> 
> --- 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

Much too complicated ;)

Just adding $(SRCS2) in there works as well.  Thanks for noticing this,
though.

Diego




More information about the MPlayer-dev-eng mailing list