8be1c6563c
Originally committed as revision 78 to svn://svn.ffmpeg.org/ffmpeg/trunk
27 lines
427 B
Makefile
27 lines
427 B
Makefile
include ../config.mak
|
|
CFLAGS= $(OPTFLAGS) -Wall -g -I../libavcodec -DHAVE_AV_CONFIG_H
|
|
|
|
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 img.o
|
|
|
|
ifeq ($(CONFIG_GRAB),yes)
|
|
OBJS+= grab.o audio.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
|
|
|