summaryrefslogtreecommitdiffstats
path: root/libswscale/Makefile
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-01-25 00:35:29 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-01-25 00:35:29 +0000
commit2dc888b0c0f26b12fb1cb5036b4f518ea712fb2a (patch)
tree9b36740e2e32b06dbc2ca1d2f70b7c93abf05d05 /libswscale/Makefile
parent7a8a178c7c6896d781f036066c3fbb4315fdada6 (diff)
downloadmpv-2dc888b0c0f26b12fb1cb5036b4f518ea712fb2a.tar.bz2
mpv-2dc888b0c0f26b12fb1cb5036b4f518ea712fb2a.tar.xz
Simplify conditional compilation handling.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22009 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale/Makefile')
-rw-r--r--libswscale/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/libswscale/Makefile b/libswscale/Makefile
index c65a3a9c86..d9b67da887 100644
--- a/libswscale/Makefile
+++ b/libswscale/Makefile
@@ -10,12 +10,9 @@ endif
EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
OBJS= swscale.o rgb2rgb.o
-ifeq ($(TARGET_ALTIVEC),yes)
-OBJS+= yuv2rgb_altivec.o
-endif
-ifeq ($(CONFIG_GPL),yes)
-OBJS+= yuv2rgb.o
-endif
+
+OBJS-$(TARGET_ALTIVEC) += yuv2rgb_altivec.o
+OBJS-$(CONFIG_GPL) += yuv2rgb.o
HEADERS = swscale.h rgb2rgb.h