summaryrefslogtreecommitdiff
path: root/ac3dec/Makefile
blob: 4599a912214bb98eb8af6b6d7fb9bd943b807860 (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/02 13:18:08 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)