Mercurial > mplayer.hg
view vidix/Makefile @ 18229:e0d18b30598c
Sync with 1.47, patch by Johan Bos < dariusjb AH gmail com> and LMJ.
Hail to the Foggy Team!!!!!!!!!!
Not hooked up with the rest of the build system yet as it's not been re-read and proofread enough, and maybe doesn't even validate ;)
pre8 or rc1 can probably wait till these issues are straighten up :)
author | gpoirier |
---|---|
date | Sun, 23 Apr 2006 21:43:49 +0000 |
parents | ac071d4aafd2 |
children | 618d1857f4c4 |
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: $(SUBDIRS) $(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 $(MAKE) -C drivers dep depend: $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend install: $(MAKE) -C drivers install uninstall: $(MAKE) -C drivers uninstall # # include dependency files if they exist # ifneq ($(wildcard .depend),) include .depend endif