aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-27 22:57:42 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-27 22:57:42 +0000
commitb78cffaa845d4a979b8a64ad021b758a6dcfbdde (patch)
tree66447e18473659ede348dd79deba93edb1c3bc28
parent59d700949366c87b501b27ca803698db702754ac (diff)
Shorten LIBAV_INC handling.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21347 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index e09d6fd88d..ba1cb6aa23 100644
--- a/Makefile
+++ b/Makefile
@@ -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)