From 91f2de5e1894350c6b43a6ede759ad2f6a7c9a9b Mon Sep 17 00:00:00 2001 From: Diego Biurrun <diego@biurrun.de> Date: Thu, 25 Jan 2007 00:35:29 +0000 Subject: Simplify conditional compilation handling. Originally committed as revision 22009 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale --- libswscale/Makefile | 9 +++------ 1 file 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 -- cgit v1.2.1