summaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
Diffstat (limited to 'libswscale')
-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