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