Skip to content
Snippets Groups Projects
Commit 782e83e2 authored by Vitor Sessak's avatar Vitor Sessak
Browse files

work into the ffmpeg build system

Commited in SoC by Bobby Bingham on 2007-07-24 17:59:16

Originally committed as revision 11946 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 52bfefeb
No related branches found
No related tags found
No related merge requests found
CC = gcc
CFLAGS = -g -I../libavcodec -I../libavutil
LIBS = ../libavcodec/libavcodec.a ../libavutil/libavutil.a -lm -lSDL
OBJECTS = avfilter.o \
avfiltergraph.o \
vsrc_dummy.o \
vsrc_ppm.o \
vo_sdl.o \
vf_crop.o \
vf_passthrough.o \
vf_rgb2bgr.o \
vf_slicify.o \
all: filter_test
clean:
rm -f filter_test $(OBJECTS)
filter_test: $(OBJECTS) filter_test.c
$(CC) $(CFLAGS) $^ -o $@ $(LIBS)
$(OBJECTS): %.o: %.c
$(CC) $(CFLAGS) -c $<
include ../config.mak
CFLAGS+=-I$(SRC_PATH)/libavcodec
OBJS = avfilter.o \
avfiltergraph.o \
# TODO: real conditional compilation
OBJS-yes = vsrc_dummy.o \
vsrc_ppm.o \
vo_sdl.o \
vf_crop.o \
vf_passthrough.o \
vf_rgb2bgr.o \
vf_slicify.o \
HEADERS = avfilter.h
EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
NAME=avfilter
LIBVERSION=$(LAVFILTERVERSION)
LIBMAJOR=$(LAVFILTERMAJOR)
include ../common.mak
clean::
rm -f \
filter_test $(TESTS)
tests: filter_test
filter_test: filter_test.o $(LIB)
$(CC) $(CFLAGS) $< -o $@ $(LIB) -lm -lSDL
.PHONY: tests
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment