swscale-example is an API example, not a test program.
[ffmpeg.git] / libswscale / Makefile
1 include $(SUBDIR)../config.mak
2
3 NAME = swscale
4 FFLIBS = avutil
5
6 HEADERS = swscale.h
7
8 OBJS = rgb2rgb.o swscale.o swscale_avoption.o yuv2rgb.o
9
10 OBJS-$(ARCH_BFIN)          +=  internal_bfin.o swscale_bfin.o yuv2rgb_bfin.o
11 OBJS-$(CONFIG_MLIB)        +=  yuv2rgb_mlib.o
12 OBJS-$(HAVE_ALTIVEC)       +=  yuv2rgb_altivec.o
13 OBJS-$(HAVE_VIS)           +=  yuv2rgb_vis.o
14
15 EXAMPLES  = swscale-example
16 TESTPROGS = cs_test
17
18 include $(SUBDIR)../subdir.mak
19
20 $(SUBDIR)cs_test: $(SUBDIR)cs_test.o $(SUBDIR)$(LIBNAME)
21
22 $(SUBDIR)swscale-example: $(SUBDIR)swscale-example.o $(SUBDIR)$(LIBNAME)
23 $(SUBDIR)swscale-example: EXTRALIBS += -lm