diff --git a/Gui/Makefile b/Gui/Makefile index 7f0a38a145..fd4c9d2f65 100644 --- a/Gui/Makefile +++ b/Gui/Makefile @@ -2,7 +2,7 @@ include ../config.mak LIBNAME = libgui.a -CFLAGS = -I. -I.. -I../loader -I./wm -I./skin $(OPTFLAGS) +CFLAGS = -I../loader -I./wm -I./skin $(OPTFLAGS) #CFLAGS += -DDEBUG ifeq ($(TARGET_WIN32),yes) diff --git a/libaf/Makefile b/libaf/Makefile index 2bd0696e32..bde771c39e 100644 --- a/libaf/Makefile +++ b/libaf/Makefile @@ -35,7 +35,7 @@ SRCS-$(CONFIG_LIBAVCODEC_SO) += af_lavcresample.c LIBAV_INC-$(CONFIG_LIBAVUTIL) += -I../libavutil LIBAV_INC-$(CONFIG_LIBAVCODEC) += -I../libavcodec -CFLAGS = -I.. $(LIBAV_INC) -D_GNU_SOURCE +CFLAGS = $(LIBAV_INC) -D_GNU_SOURCE ifeq ($(TARGET_OS),MINGW32) CFLAGS += -D_IO_H_ diff --git a/libmpdemux/Makefile b/libmpdemux/Makefile index 1a0433a6f7..41211f5bd4 100644 --- a/libmpdemux/Makefile +++ b/libmpdemux/Makefile @@ -72,7 +72,7 @@ LIBAV_INC-$(CONFIG_LIBAVUTIL) += -I../libavutil LIBAV_INC-$(CONFIG_LIBAVCODEC) += -I../libavcodec LIBAV_INC-$(CONFIG_LIBAVFORMAT) += -I../libavformat -CFLAGS = -I.. -I../stream -I../loader $(LIBAV_INC) +CFLAGS = -I../stream -I../loader $(LIBAV_INC) CPLUSPLUSFLAGS = $(CFLAGS) -D__STDC_LIMIT_MACROS diff --git a/libvo/Makefile b/libvo/Makefile index 6eb8bbc580..d6549593f9 100644 --- a/libvo/Makefile +++ b/libvo/Makefile @@ -27,7 +27,7 @@ SRCS2-$(FREETYPE) += font_load_ft.c LIBAV_INC-$(CONFIG_LIBAVUTIL) += -I../libavutil -CFLAGS = -I.. -I../osdep $(LIBAV_INC) +CFLAGS = -I../osdep $(LIBAV_INC) include ../mpcommon.mak