Mercurial > mplayer.hg
view vidix/Makefile @ 22529:1f6b48b2abcd
fix up some longer than 80 char lines , and use suggestion from Diego.
author | compn |
---|---|
date | Tue, 13 Mar 2007 15:49:03 +0000 |
parents | 909e1e707dc5 |
children | 1503d29ab0d1 |
line wrap: on
line source
LIBNAME = libvidix.a include ../config.mak SRCS = vidixlib.c OBJS = $(SRCS:.c=.o) CFLAGS = $(OPTFLAGS) .SUFFIXES: .c .o # .PHONY: all clean .c.o: $(CC) -c $(CFLAGS) -o $@ $< all: $(LIBNAME) do_drivers do_drivers: $(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