changeset 21331:21de6d9d91b6

Shorten LIBAV_INC handling.
author diego
date Mon, 27 Nov 2006 22:57:42 +0000
parents dceeec121837
children 7f53c807d593
files Makefile
diffstat 1 files changed, 3 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Mon Nov 27 22:55:46 2006 +0000
+++ b/Makefile	Mon Nov 27 22:57:42 2006 +0000
@@ -6,12 +6,9 @@
 
 include config.mak
 
-ifeq ($(CONFIG_LIBAVUTIL),yes)
-LIBAV_INC += -I./libavutil
-endif
-ifeq ($(CONFIG_LIBAVCODEC),yes)
-LIBAV_INC += -I./libavcodec
-endif
+LIBAV_INC-$(CONFIG_LIBAVUTIL)  += -I./libavutil
+LIBAV_INC-$(CONFIG_LIBAVCODEC) += -I./libavcodec
+LIBAV_INC                      += $(LIBAV_INC-yes)
 
 CFLAGS = $(OPTFLAGS) -I. $(LIBAV_INC)