a94472c3685d631abbcccd334b5b17666aff1a64
[ffmpeg.git] / libavfilter / Makefile
1 CC = gcc
2 CFLAGS = -g -I../libavcodec -I../libavutil
3 LIBS = ../libavcodec/libavcodec.a ../libavutil/libavutil.a -lm -lSDL
4
5 OBJECTS = avfilter.o          \
6           avfiltergraph.o     \
7           vsrc_dummy.o        \
8                   vsrc_ppm.o          \
9                   vo_sdl.o            \
10                   vf_crop.o           \
11                   vf_passthrough.o    \
12                   vf_rgb2bgr.o        \
13                   vf_slicify.o        \
14
15 all: filter_test
16
17 clean:
18         rm -f filter_test $(OBJECTS)
19
20 filter_test: $(OBJECTS) filter_test.c
21         $(CC) $(CFLAGS) $^ -o $@ $(LIBS)
22
23 $(OBJECTS): %.o: %.c
24         $(CC) $(CFLAGS) -c $<