summaryrefslogtreecommitdiff
path: root/libav/Makefile
blob: 6664e870cbe0a5d49d3f772d9c0a6768e7e45151 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CFLAGS= -O2 -Wall -g
LDFLAGS= -g

OBJS= common.o mpegvideo.o h263enc.o jrevdct.o jfdctfst.o \
      mpegaudio.o ac3enc.o mjpegenc.o resample.o
LIB= libav.a

all: $(LIB)

$(LIB): $(OBJS)
	ar rcs $@ $(OBJS)

%.o: %.c
	gcc $(CFLAGS) -c -o $@ $< 

clean: 
	rm -f *.o *~ *.a