ffmpeg/libavfilter/Makefile

18 lines
400 B
Makefile

CC = gcc
CFLAGS = -g -I../libavcodec -I../libavutil
LIBS = ../libavcodec/libavcodec.a ../libavutil/libavutil.a -lm -lSDL
OBJECTS = avfilter.o \
vsrc_dummy.o \
vo_sdl.o \
vf_crop.o \
vf_passthrough.o \
all: filter_test
filter_test: $(OBJECTS) filter_test.c
$(CC) $(CFLAGS) $^ -o $@ $(LIBS)
$(OBJECTS): %.o: %.c
$(CC) $(CFLAGS) -c $<