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