]> git.sesse.net Git - ffmpeg/blob - libav/Makefile
MMX(2) optimized YUY2 input
[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 jpeg.o swf.o wav.o raw.o \
5          avidec.o ffm.o \
6          avio.o aviobuf.o utils.o \
7          file.o img.o
8
9 ifeq ($(CONFIG_GRAB),yes)
10 OBJS+= grab.o audio.o 
11 endif
12
13 ifneq ($(CONFIG_WIN32),yes)
14 OBJS+= udp.o http.o
15 endif
16
17 LIB= libav.a
18
19 all: $(LIB)
20
21 $(LIB): $(OBJS)
22         rm -f $@
23         $(AR) rcs $@ $(OBJS)
24
25 %.o: %.c
26         $(CC) $(CFLAGS) -c -o $@ $< 
27
28 clean: 
29         rm -f *.o *~ *.a 
30