Mercurial > mplayer.hg
diff vidix/Makefile @ 4030:922241968c63
Embedding vidix
author | nick |
---|---|
date | Mon, 07 Jan 2002 09:28:22 +0000 |
parents | dcc632dd2097 |
children | b69ddd4d3bb9 |
line wrap: on
line diff
--- a/vidix/Makefile Mon Jan 07 09:22:01 2002 +0000 +++ b/vidix/Makefile Mon Jan 07 09:28:22 2002 +0000 @@ -1,5 +1,6 @@ - LIBNAME = libvidix.a +SUBDIRS = drivers +DO_MAKE = @ for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done include ../config.mak @@ -15,22 +16,30 @@ .c.o: $(CC) -c $(CFLAGS) -o $@ $< +all: $(SUBDIRS) $(LIBNAME) + $(DO_MAKE) + $(LIBNAME): $(OBJS) $(AR) r $(LIBNAME) $(OBJS) -all: $(LIBNAME) clean: rm -f *.o *.a *~ + $(DO_MAKE) distclean: rm -f test *.o *.a *~ .depend + $(DO_MAKE) dep: depend + $(DO_MAKE) depend: $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend +install: + $(DO_MAKE) + # # include dependency files if they exist #