aboutsummaryrefslogtreecommitdiffstats
path: root/libav/Makefile
blob: ac25e49622930fbf840f8fe2d9eb18f1bee8687e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 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