Move CFLAGS handling to common.mak.
[ffmpeg.git] / libswscale / Makefile
1
2 include ../config.mak
3
4 NAME=swscale
5 ifeq ($(BUILD_SHARED),yes)
6 LIBVERSION=$(SWSVERSION)
7 LIBMAJOR=$(SWSMAJOR)
8 endif
9
10 OBJS= swscale.o rgb2rgb.o yuv2rgb.o
11 ifeq ($(TARGET_ALTIVEC),yes)
12 OBJS+=  yuv2rgb_altivec.o
13 endif
14
15 HEADERS = swscale.h rgb2rgb.h
16
17 include $(SRC_PATH)/common.mak
18
19 cs_test: cs_test.c $(LIB)
20
21 swscale-example: swscale-example.o $(LIB)
22
23 clean::
24         rm -f cs_test swscale-example