]> git.sesse.net Git - ffmpeg/blob - libav/Makefile
win32 fixes
[ffmpeg] / libav / Makefile
1 include ../config.mak
2 CFLAGS= $(OPTFLAGS) -Wall -g -I../libavcodec -DHAVE_AV_CONFIG_H
3
4 OBJS= rm.o mpeg.o asf.o avienc.o jpegenc.o swf.o wav.o raw.o \
5          avidec.o ffm.o \
6          avio.o aviobuf.o utils.o \
7          udp.o http.o file.o img.o
8
9 ifeq ($(CONFIG_GRAB),yes)
10 OBJS+= grab.o audio.o 
11 endif
12
13 LIB= libav.a
14
15 all: $(LIB)
16
17 $(LIB): $(OBJS)
18         rm -f $@
19         $(AR) rcs $@ $(OBJS)
20
21 %.o: %.c
22         $(CC) $(CFLAGS) -c -o $@ $< 
23
24 clean: 
25         rm -f *.o *~ *.a 
26