changeset 26121:752e40637551

Only demux_lavf.o explicitly needs -I../libavcodec in CFLAGS. Thus there is no need to use it everywhere.
author diego
date Mon, 03 Mar 2008 19:37:41 +0000
parents 24ba95d88181
children 7d74f109704b
files libmpdemux/Makefile mpcommon.mak
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/Makefile	Mon Mar 03 19:32:15 2008 +0000
+++ b/libmpdemux/Makefile	Mon Mar 03 19:37:41 2008 +0000
@@ -66,4 +66,6 @@
 
 include ../mpcommon.mak
 
+demux_lavf.o: CFLAGS += -I../libavcodec
+
 dep depend: CFLAGS += $(EXTRAXX_INC)
--- a/mpcommon.mak	Mon Mar 03 19:32:15 2008 +0000
+++ b/mpcommon.mak	Mon Mar 03 19:37:41 2008 +0000
@@ -6,7 +6,6 @@
 OBJS_MPLAYER   += $(addsuffix .o, $(basename $(SRCS_MPLAYER)) )
 OBJS_MENCODER  += $(addsuffix .o, $(basename $(SRCS_MENCODER)) )
 
-CFLAGS-$(LIBAVCODEC)     += -I../libavcodec
 CFLAGS += $(CFLAGS-yes) $(OPTFLAGS)
 
 LIBS-$(MPLAYER)  += $(LIBNAME_MPLAYER)