Merge of several revisions that add more targets to the
[libav.git] / libavfilter / Makefile
CommitLineData
782e83e2
VS
1include ../config.mak
2
3CFLAGS+=-I$(SRC_PATH)/libavcodec
4
5OBJS = avfilter.o \
6 avfiltergraph.o \
da842323
VS
7 avfiltergraphdesc.o \
8 defaults.o \
782e83e2
VS
9
10# TODO: real conditional compilation
11OBJS-yes = vsrc_dummy.o \
12 vsrc_ppm.o \
13 vo_sdl.o \
14 vf_crop.o \
da842323
VS
15 vf_fps.o \
16 vf_overlay.o \
782e83e2
VS
17 vf_passthrough.o \
18 vf_rgb2bgr.o \
19 vf_slicify.o \
da842323 20 vf_vflip.o \
782e83e2
VS
21
22HEADERS = avfilter.h
23
24EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
25
26NAME=avfilter
27LIBVERSION=$(LAVFILTERVERSION)
28LIBMAJOR=$(LAVFILTERMAJOR)
29
30include ../common.mak
31
32clean::
33 rm -f \
34 filter_test $(TESTS)
35
36tests: filter_test
37
38filter_test: filter_test.o $(LIB)
39 $(CC) $(CFLAGS) $< -o $@ $(LIB) -lm -lSDL
40
41.PHONY: tests