[Mplayer-cvslog] CVS: main/vidix Makefile,1.1,1.2

Nick Kurshev nick at mplayer.dev.hu
Mon Jan 7 10:28:23 CET 2002


Update of /cvsroot/mplayer/main/vidix
In directory mplayer:/var/tmp.root/cvs-serv5737/main/vidix

Modified Files:
	Makefile 
Log Message:
Embedding vidix

Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/vidix/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Makefile	5 Jan 2002 10:13:25 -0000	1.1
+++ Makefile	7 Jan 2002 09:28:21 -0000	1.2
@@ -1,5 +1,6 @@
-
 LIBNAME = libvidix.a
+SUBDIRS = drivers
+DO_MAKE = @ for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done
 
 include ../config.mak
 
@@ -15,21 +16,29 @@
 .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




More information about the MPlayer-cvslog mailing list