summaryrefslogtreecommitdiffstats
path: root/postproc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'postproc/Makefile')
-rw-r--r--postproc/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/postproc/Makefile b/postproc/Makefile
index b030c72854..06caa9ad1c 100644
--- a/postproc/Makefile
+++ b/postproc/Makefile
@@ -4,8 +4,13 @@ include ../config.mak
SWSLIB = libswscale.a
SWSSRCS=swscale.c rgb2rgb.c yuv2rgb.c
+
SWSOBJS=$(SWSSRCS:.c=.o)
+ifeq ($(TARGET_ALTIVEC),yes)
+SWSOBJS += yuv2rgb_altivec.o
+endif
+
CFLAGS = $(OPTFLAGS) $(MLIB_INC) -I. -I.. $(EXTRA_INC)
# -I/usr/X11R6/include/
@@ -44,3 +49,4 @@ swscale-example: swscale-example.o $(SWSLIB)
ifneq ($(wildcard .depend),)
include .depend
endif
+