mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 16:52:31 +00:00
23 lines
358 B
Makefile
23 lines
358 B
Makefile
|
include ../config.mk
|
||
|
CFLAGS= -O2 -Wall -g -I../libavcodec
|
||
|
|
||
|
OBJS= rm.o mpeg.o asf.o avienc.o jpegenc.o swf.o wav.o raw.o \
|
||
|
avidec.o ffm.o \
|
||
|
avio.o aviobuf.o utils.o \
|
||
|
udp.o http.o file.o grab.o audio.o img.o
|
||
|
|
||
|
LIB= libav.a
|
||
|
|
||
|
all: $(LIB)
|
||
|
|
||
|
$(LIB): $(OBJS)
|
||
|
rm -f $@
|
||
|
$(AR) rcs $@ $(OBJS)
|
||
|
|
||
|
%.o: %.c
|
||
|
$(CC) $(CFLAGS) -c -o $@ $<
|
||
|
|
||
|
clean:
|
||
|
rm -f *.o *~ *.a
|
||
|
|