summaryrefslogtreecommitdiff
path: root/ac3dec/Makefile
blob: a0547e91571d2bd3e8cb3abafe299b8b806ae20f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#
# Makefile for 'ac3dec'
#
# $Id: Makefile 1.1 2001/08/03 12:58:06 kls Exp $

OBJS = coeff.o decode.o exponent.o rematrix.o bit_allocate.o crc.o dither.o\
       imdct.o sanity_check.o bitstream.o debug.o downmix.o parse.o stats.o                                  

DEFINES += -DDOLBY_SURROUND

all: libac3.a

libac3.a: $(OBJS)
	ar -rc libac3.a $(OBJS)

# Implicit rules:

%.o: %.c
	gcc -g -O2 -Wall -m486 -c $(DEFINES) $<

clean:
	rm -f *~ libac3.a $(OBJS)