summaryrefslogtreecommitdiff
path: root/ac3dec/Makefile
blob: 8a4791f2047d41af2643e256a62eee8a25223471 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#
# Makefile for 'ac3dec'
#
# $Id: Makefile 1.2 2001/08/09 11:41:39 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\
#       downmix_c.o imdct.o                             

OBJS = bit_allocate.o bitstream.o coeff.o cpu_accel.o crc.o debug.o decode.o\
       dither.o downmix.o downmix_c.o exponent.o imdct.o imdct_c.o imdct_kni.o\
       parse.o rematrix.o sanity_check.o srfft.o srfft_kni_c.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 -I./ -c $(DEFINES) $<

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