fixed double free - fixed probe function
[libav.git] / libav / Makefile
CommitLineData
980fc7b8 1include ../config.mak
f57a4535
FB
2
3VPATH=$(SRC_PATH)/libav
4PWD=$(shell pwd)
5
6CFLAGS= $(OPTFLAGS) -Wall -g -I.. -I$(SRC_PATH) -I$(SRC_PATH)/libavcodec -DHAVE_AV_CONFIG_H
85f07f22 7
c9a65ca8
FB
8OBJS= utils.o
9
10# mux and demuxes
11OBJS+=mpeg.o mpegts.o ffm.o crc.o img.o raw.o rm.o asf.o \
12 avienc.o avidec.o wav.o swf.o au.o gif.o mov.o jpeg.o
13# file I/O
14OBJS+= avio.o aviobuf.o file.o
8be1c656
FB
15
16ifeq ($(CONFIG_GRAB),yes)
17OBJS+= grab.o audio.o
18endif
85f07f22 19
a74127c0
FB
20ifneq ($(CONFIG_WIN32),yes)
21OBJS+= udp.o http.o
22endif
23
85f07f22
FB
24LIB= libav.a
25
26all: $(LIB)
27
28$(LIB): $(OBJS)
29 rm -f $@
30 $(AR) rcs $@ $(OBJS)
31
32%.o: %.c
33 $(CC) $(CFLAGS) -c -o $@ $<
34
35clean:
36 rm -f *.o *~ *.a
37