mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02: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
|
||
|
|