From 76c7e8371b711de7d00736588ff766eb763e829c Mon Sep 17 00:00:00 2001 From: nick Date: Sat, 5 Jan 2002 10:13:25 +0000 Subject: preliminary version git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3992 b3059339-0415-0410-9bf9-f77b7e298cf2 --- vidix/Makefile | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 vidix/Makefile (limited to 'vidix/Makefile') 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 -- cgit v1.2.3