work into the ffmpeg build system
[ffmpeg.git] / libavfilter / Makefile
1 include ../config.mak
2
3 CFLAGS+=-I$(SRC_PATH)/libavcodec
4
5 OBJS = avfilter.o \
6        avfiltergraph.o \
7
8 # TODO: real conditional compilation
9 OBJS-yes = vsrc_dummy.o \
10            vsrc_ppm.o \
11            vo_sdl.o \
12            vf_crop.o \
13            vf_passthrough.o \
14            vf_rgb2bgr.o \
15            vf_slicify.o \
16
17 HEADERS = avfilter.h
18
19 EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
20
21 NAME=avfilter
22 LIBVERSION=$(LAVFILTERVERSION)
23 LIBMAJOR=$(LAVFILTERMAJOR)
24
25 include ../common.mak
26
27 clean::
28         rm -f \
29            filter_test $(TESTS)
30
31 tests: filter_test
32
33 filter_test: filter_test.o $(LIB)
34         $(CC) $(CFLAGS) $< -o $@ $(LIB) -lm -lSDL
35
36 .PHONY: tests