summaryrefslogtreecommitdiffstats
path: root/libao2/Makefile
diff options
context:
space:
mode:
authorarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-06-02 23:25:43 +0000
committerarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-06-02 23:25:43 +0000
commit7a2eec4b59f4055cb022710a71ebee498c7f55c5 (patch)
tree4cb2aff1cc18eeac5d228717019f40c0c7871187 /libao2/Makefile
parent7c8bb6e4b90bb3890bff95df2dde0b510e6bcfa4 (diff)
downloadmpv-7a2eec4b59f4055cb022710a71ebee498c7f55c5.tar.bz2
mpv-7a2eec4b59f4055cb022710a71ebee498c7f55c5.tar.xz
audio out drivers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@955 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libao2/Makefile')
-rw-r--r--libao2/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/libao2/Makefile b/libao2/Makefile
new file mode 100644
index 0000000000..c726ab42de
--- /dev/null
+++ b/libao2/Makefile
@@ -0,0 +1,41 @@
+
+include ../config.mak
+
+LIBNAME = libao.a
+
+SRCS=audio_out.c ao_oss.c ao_null.c
+OBJS=$(SRCS:.c=.o)
+
+CFLAGS = $(OPTFLAGS) -I. -I..
+# -I/usr/X11R6/include/
+
+.SUFFIXES: .c .o
+
+# .PHONY: all clean
+
+.c.o:
+ $(CC) -c $(CFLAGS) -o $@ $<
+
+$(LIBNAME): .depend $(OBJS)
+ $(AR) r $(LIBNAME) $(OBJS)
+
+all: $(LIBNAME)
+
+clean:
+ rm -f *.o *.a *~
+
+distclean:
+ rm -f Makefile.bak *.o *.a *~ .depend
+
+dep: depend
+depend: .depend
+
+.depend: Makefile ../config.mak ../config.h
+ $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
+
+#
+# include dependency files if they exist
+#
+ifneq ($(wildcard .depend),)
+include .depend
+endif