aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/Makefile
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2007-01-25 00:35:29 +0000
committerDiego Biurrun <diego@biurrun.de>2007-01-25 00:35:29 +0000
commit91f2de5e1894350c6b43a6ede759ad2f6a7c9a9b (patch)
tree3db47d5e0069b8bc70a4010e303d460c11c18654 /libswscale/Makefile
parent722dabcc947592be5473ec6089c5c70488260f63 (diff)
downloadffmpeg-91f2de5e1894350c6b43a6ede759ad2f6a7c9a9b.tar.gz
Simplify conditional compilation handling.
Originally committed as revision 22009 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
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