summaryrefslogtreecommitdiffstats
path: root/vidix/Makefile
diff options
context:
space:
mode:
authornick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-01-05 10:13:25 +0000
committernick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-01-05 10:13:25 +0000
commit76c7e8371b711de7d00736588ff766eb763e829c (patch)
tree6c27fe9570cad774c1b91c08c6b566595074cc03 /vidix/Makefile
parent71d96baf240f404bb0dd102a7bcab46f7d0bc811 (diff)
downloadmpv-76c7e8371b711de7d00736588ff766eb763e829c.tar.bz2
mpv-76c7e8371b711de7d00736588ff766eb763e829c.tar.xz
preliminary version
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3992 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vidix/Makefile')
-rw-r--r--vidix/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/vidix/Makefile b/vidix/Makefile
new file mode 100644
index 0000000000..0e964faa90
--- /dev/null
+++ b/vidix/Makefile
@@ -0,0 +1,39 @@
+
+LIBNAME = libvidix.a
+
+include ../config.mak
+
+SRCS = vidixlib.c
+OBJS = $(SRCS:.c=.o)
+
+CFLAGS = $(OPTFLAGS) -W -Wall
+
+.SUFFIXES: .c .o
+
+# .PHONY: all clean
+
+.c.o:
+ $(CC) -c $(CFLAGS) -o $@ $<
+
+$(LIBNAME): $(OBJS)
+ $(AR) r $(LIBNAME) $(OBJS)
+
+all: $(LIBNAME)
+
+clean:
+ rm -f *.o *.a *~
+
+distclean:
+ rm -f test *.o *.a *~ .depend
+
+dep: depend
+
+depend:
+ $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
+
+#
+# include dependency files if they exist
+#
+ifneq ($(wildcard .depend),)
+include .depend
+endif