2001-07-23 22:06:54 +02:00
|
|
|
include ../config.mak
|
2001-07-31 01:22:07 +02:00
|
|
|
CFLAGS= $(OPTFLAGS) -Wall -g -I../libavcodec -DHAVE_AV_CONFIG_H
|
2001-07-22 16:37:44 +02:00
|
|
|
|
2001-08-15 15:04:23 +02:00
|
|
|
OBJS= rm.o mpeg.o asf.o avienc.o jpeg.o swf.o wav.o raw.o \
|
2001-07-22 16:37:44 +02:00
|
|
|
avidec.o ffm.o \
|
|
|
|
avio.o aviobuf.o utils.o \
|
2001-08-13 23:37:10 +02:00
|
|
|
udp.o http.o file.o img.o
|
|
|
|
|
|
|
|
ifeq ($(CONFIG_GRAB),yes)
|
|
|
|
OBJS+= grab.o audio.o
|
|
|
|
endif
|
2001-07-22 16:37:44 +02:00
|
|
|
|
|
|
|
LIB= libav.a
|
|
|
|
|
|
|
|
all: $(LIB)
|
|
|
|
|
|
|
|
$(LIB): $(OBJS)
|
|
|
|
rm -f $@
|
|
|
|
$(AR) rcs $@ $(OBJS)
|
|
|
|
|
|
|
|
%.o: %.c
|
|
|
|
$(CC) $(CFLAGS) -c -o $@ $<
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o *~ *.a
|
|
|
|
|