summaryrefslogtreecommitdiff
path: root/ac3dec/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ac3dec/Makefile')
-rw-r--r--ac3dec/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/ac3dec/Makefile b/ac3dec/Makefile
new file mode 100644
index 0000000..a0547e9
--- /dev/null
+++ b/ac3dec/Makefile
@@ -0,0 +1,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)