work into the ffmpeg build system
[libav.git] / libavfilter / Makefile
CommitLineData
782e83e2
VS
1include ../config.mak
2
3CFLAGS+=-I$(SRC_PATH)/libavcodec
4
5OBJS = avfilter.o \
6 avfiltergraph.o \
7
8# TODO: real conditional compilation
9OBJS-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
17HEADERS = avfilter.h
18
19EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
20
21NAME=avfilter
22LIBVERSION=$(LAVFILTERVERSION)
23LIBMAJOR=$(LAVFILTERMAJOR)
24
25include ../common.mak
26
27clean::
28 rm -f \
29 filter_test $(TESTS)
30
31tests: filter_test
32
33filter_test: filter_test.o $(LIB)
34 $(CC) $(CFLAGS) $< -o $@ $(LIB) -lm -lSDL
35
36.PHONY: tests