# HG changeset patch # User diego # Date 1169685329 0 # Node ID ba11e9a0880f9deca5261979e87d5b7ac61fa714 # Parent 804e39868380322654bc73c6acf76774e89d7197 Simplify conditional compilation handling. diff -r 804e39868380 -r ba11e9a0880f libswscale/Makefile --- 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