summaryrefslogtreecommitdiffstats
path: root/tremor/Makefile
diff options
context:
space:
mode:
authorhenry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-12-30 12:11:32 +0000
committerhenry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-12-30 12:11:32 +0000
commitfc91fed21ea71c50273c7c09f88e8d634c1e444e (patch)
treea4b1344270267c9d16eef135488049bd4e9a96f9 /tremor/Makefile
parentdbbe18f4500c2707f2e9c0967c7b79312edecd3d (diff)
downloadmpv-fc91fed21ea71c50273c7c09f88e8d634c1e444e.tar.bz2
mpv-fc91fed21ea71c50273c7c09f88e8d634c1e444e.tar.xz
internal Tremor decoder for Ogg/Vorbis
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14281 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'tremor/Makefile')
-rw-r--r--tremor/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/tremor/Makefile b/tremor/Makefile
new file mode 100644
index 0000000000..68f27e653b
--- /dev/null
+++ b/tremor/Makefile
@@ -0,0 +1,42 @@
+
+LIBNAME = libvorbisidec.a
+
+include ../config.mak
+
+SRCS = bitwise.c block.c codebook.c floor0.c floor1.c framing.c info.c \
+mapping0.c mdct.c registry.c res012.c sharedbook.c synthesis.c window.c
+
+OBJS = $(SRCS:.c=.o)
+INCLUDE = -I. -I.. $(EXTRA_INC)
+CFLAGS = $(OPTFLAGS) $(INCLUDE) $(TREMOR_FLAGS)
+
+.SUFFIXES: .c .o
+
+# .PHONY: all clean
+
+.c.o:
+ $(CC) -c $(CFLAGS) -o $@ $<
+
+$(LIBNAME): $(OBJS)
+ $(AR) r $(LIBNAME) $(OBJS)
+ $(RANLIB) $(LIBNAME)
+
+all: $(LIBNAME)
+
+clean:
+ rm -f *.o *.a *~
+
+distclean:
+ rm -f Makefile.bak *.o *.a *~ .depend
+
+dep: depend
+
+depend:
+ $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
+
+#
+# include dependency files if they exist
+#
+ifneq ($(wildcard .depend),)
+include .depend
+endif