2008-02-15 19:18:12 +00:00
|
|
|
CC = gcc
|
|
|
|
CFLAGS = -g -I../libavcodec -I../libavutil
|
|
|
|
LIBS = ../libavcodec/libavcodec.a ../libavutil/libavutil.a -lm -lSDL
|
|
|
|
|
|
|
|
OBJECTS = avfilter.o \
|
2008-02-15 19:20:46 +00:00
|
|
|
avfiltergraph.o \
|
2008-02-15 19:18:12 +00:00
|
|
|
vsrc_dummy.o \
|
2008-02-15 19:20:46 +00:00
|
|
|
vsrc_ppm.o \
|
2008-02-15 19:18:12 +00:00
|
|
|
vo_sdl.o \
|
|
|
|
vf_crop.o \
|
|
|
|
vf_passthrough.o \
|
2008-02-15 19:20:46 +00:00
|
|
|
vf_rgb2bgr.o \
|
|
|
|
vf_slicify.o \
|
2008-02-15 19:18:12 +00:00
|
|
|
|
|
|
|
all: filter_test
|
|
|
|
|
2008-02-15 19:21:21 +00:00
|
|
|
clean:
|
|
|
|
rm -f filter_test $(OBJECTS)
|
|
|
|
|
2008-02-15 19:18:12 +00:00
|
|
|
filter_test: $(OBJECTS) filter_test.c
|
|
|
|
$(CC) $(CFLAGS) $^ -o $@ $(LIBS)
|
|
|
|
|
|
|
|
$(OBJECTS): %.o: %.c
|
|
|
|
$(CC) $(CFLAGS) -c $<
|