Move -I. and -I.. to the front of CFLAGS so that headers in the root directory

take precedence over ones in the subdirectories.
This works around the problem of confusing the two copies of xvmc_render.h.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22736 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2007-03-18 23:18:09 +00:00
parent 5f6965df5d
commit 298ea20c97
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ OBJS_MENCODER = $(addsuffix .o, $(basename $(SRCS_MENCODER)) )
CFLAGS-$(CONFIG_LIBAVUTIL) += -I../libavutil
CFLAGS-$(CONFIG_LIBAVCODEC) += -I../libavcodec
CFLAGS-$(CONFIG_LIBAVFORMAT) += -I../libavformat
CFLAGS += $(CFLAGS-yes) -I. -I.. $(OPTFLAGS)
CFLAGS += -I. -I.. $(CFLAGS-yes) $(OPTFLAGS)
LIBS-$(MPLAYER) += $(LIBNAME_MPLAYER)
LIBS-$(MENCODER) += $(LIBNAME_MENCODER)