summaryrefslogtreecommitdiff
path: root/libav/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libav/Makefile')
-rw-r--r--libav/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/libav/Makefile b/libav/Makefile
new file mode 100644
index 0000000000..08d507a7f2
--- /dev/null
+++ b/libav/Makefile
@@ -0,0 +1,22 @@
+include ../config.mk
+CFLAGS= -O2 -Wall -g -I../libavcodec
+
+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
+