simplify library version handling
[ffmpeg.git] / libswscale / Makefile
1
2 include ../config.mak
3
4 NAME=swscale
5
6 FFLIBS = avutil
7
8 OBJS = rgb2rgb.o swscale.o
9
10 OBJS-$(CONFIG_GPL)         +=  yuv2rgb.o
11 OBJS-$(HAVE_ALTIVEC)       +=  yuv2rgb_altivec.o
12
13 OBJS-$(ARCH_BFIN)          +=  swscale_bfin.o \
14                                yuv2rgb_bfin.o \
15
16 ASM_OBJS-$(ARCH_BFIN)      += internal_bfin.o
17
18 HEADERS = swscale.h rgb2rgb.h
19
20 include ../common.mak
21
22 cs_test: cs_test.o $(LIBNAME)
23
24 swscale-example: swscale-example.o $(LIBNAME)
25 swscale-example: EXTRALIBS += -lm
26
27 clean::
28         rm -f cs_test swscale-example