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