Mercurial > mplayer.hg
changeset 21991:ba11e9a0880f
Simplify conditional compilation handling.
author | diego |
---|---|
date | Thu, 25 Jan 2007 00:35:29 +0000 |
parents | 804e39868380 |
children | 3465873e5c59 |
files | libswscale/Makefile |
diffstat | 1 files changed, 3 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/libswscale/Makefile Wed Jan 24 22:06:31 2007 +0000 +++ b/libswscale/Makefile Thu Jan 25 00:35:29 2007 +0000 @@ -10,12 +10,9 @@ 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