non-recursive makefiles
[ffmpeg.git] / libswscale / Makefile
1 include $(SUBDIR)../config.mak
2
3 NAME = swscale
4 FFLIBS = avutil
5
6 OBJS = rgb2rgb.o swscale.o
7
8 OBJS-$(CONFIG_GPL)         +=  yuv2rgb.o
9 OBJS-$(HAVE_ALTIVEC)       +=  yuv2rgb_altivec.o
10
11 OBJS-$(ARCH_BFIN)          +=  swscale_bfin.o \
12                                yuv2rgb_bfin.o \
13
14 ASM_OBJS-$(ARCH_BFIN)      += internal_bfin.o
15
16 HEADERS = swscale.h rgb2rgb.h
17
18 CLEANFILES = cs_test swscale-example
19
20 include $(SUBDIR)../subdir.mak
21
22 $(SUBDIR)cs_test: $(SUBDIR)cs_test.o $(SUBDIR)$(LIBNAME)
23
24 $(SUBDIR)swscale-example: $(SUBDIR)swscale-example.o $(SUBDIR)$(LIBNAME)
25 $(SUBDIR)swscale-example: EXTRALIBS += -lm