Mercurial > mplayer.hg
view vidix/Makefile @ 22544:22aee0fa42a4
Merge all and do_drivers rules.
author | diego |
---|---|
date | Wed, 14 Mar 2007 08:39:00 +0000 |
parents | 1503d29ab0d1 |
children | effb4c7d9c1a |
line wrap: on
line source
LIBNAME = libvidix.a include ../config.mak SRCS = vidixlib.c OBJS = $(SRCS:.c=.o) CFLAGS = $(OPTFLAGS) all: $(LIBNAME) $(MAKE) -C drivers $(LIBNAME): $(OBJS) $(AR) r $(LIBNAME) $(OBJS) $(RANLIB) $(LIBNAME) clean: rm -f *.o *.a *~ $(MAKE) -C drivers clean distclean: clean rm -f .depend test $(MAKE) -C drivers distclean dep depend: $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend $(MAKE) -C drivers depend -include .depend