2001-08-03 14:18:08 +02:00
|
|
|
#
|
|
|
|
# Makefile for 'ac3dec'
|
|
|
|
#
|
2001-08-09 11:41:39 +02:00
|
|
|
# $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
|
2001-08-03 14:18:08 +02:00
|
|
|
|
|
|
|
|
|
|
|
DEFINES += -DDOLBY_SURROUND
|
|
|
|
|
|
|
|
all: libac3.a
|
|
|
|
|
|
|
|
libac3.a: $(OBJS)
|
|
|
|
ar -rc libac3.a $(OBJS)
|
|
|
|
|
|
|
|
# Implicit rules:
|
|
|
|
|
|
|
|
%.o: %.c
|
2001-08-09 11:41:39 +02:00
|
|
|
gcc -g -O2 -Wall -m486 -I./ -c $(DEFINES) $<
|
2001-08-03 14:18:08 +02:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *~ libac3.a $(OBJS)
|