mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-13 18:55:08 +00:00
f57a4535bd
Originally committed as revision 526 to svn://svn.ffmpeg.org/ffmpeg/trunk
35 lines
560 B
Makefile
35 lines
560 B
Makefile
include ../config.mak
|
|
|
|
VPATH=$(SRC_PATH)/libav
|
|
PWD=$(shell pwd)
|
|
|
|
CFLAGS= $(OPTFLAGS) -Wall -g -I.. -I$(SRC_PATH) -I$(SRC_PATH)/libavcodec -DHAVE_AV_CONFIG_H
|
|
|
|
OBJS= rm.o mpeg.o asf.o avienc.o jpeg.o swf.o wav.o raw.o \
|
|
avidec.o ffm.o \
|
|
avio.o aviobuf.o utils.o \
|
|
file.o img.o au.o gif.o mov.o crc.o
|
|
|
|
ifeq ($(CONFIG_GRAB),yes)
|
|
OBJS+= grab.o audio.o
|
|
endif
|
|
|
|
ifneq ($(CONFIG_WIN32),yes)
|
|
OBJS+= udp.o http.o
|
|
endif
|
|
|
|
LIB= libav.a
|
|
|
|
all: $(LIB)
|
|
|
|
$(LIB): $(OBJS)
|
|
rm -f $@
|
|
$(AR) rcs $@ $(OBJS)
|
|
|
|
%.o: %.c
|
|
$(CC) $(CFLAGS) -c -o $@ $<
|
|
|
|
clean:
|
|
rm -f *.o *~ *.a
|
|
|