[MPlayer-cvslog] r22567 - trunk/vidix/Makefile
diego
subversion at mplayerhq.hu
Wed Mar 14 09:55:06 CET 2007
Author: diego
Date: Wed Mar 14 09:55:06 2007
New Revision: 22567
Modified:
trunk/vidix/Makefile
Log:
Reuse common parts of all Makefiles through mpcommon.mak.
Modified: trunk/vidix/Makefile
==============================================================================
--- trunk/vidix/Makefile (original)
+++ trunk/vidix/Makefile Wed Mar 14 09:55:06 2007
@@ -3,27 +3,17 @@ include ../config.mak
LIBNAME_MPLAYER = libvidix.a
SRCS_MPLAYER = vidixlib.c
-OBJS_MPLAYER = $(SRCS_MPLAYER:.c=.o)
-
-CFLAGS = $(OPTFLAGS)
-all: $(LIBNAME_MPLAYER)
+all: libs
$(MAKE) -C drivers
-$(LIBNAME_MPLAYER): $(OBJS_MPLAYER)
- $(AR) r $@ $^
- $(RANLIB) $@
-
-clean:
- rm -f *.o *.a *~
+clean::
$(MAKE) -C drivers clean
-distclean: clean
- rm -f .depend
+distclean::
$(MAKE) -C drivers distclean
-dep depend:
- $(CC) -MM $(CFLAGS) $(SRCS_MPLAYER) 1>.depend
+dep depend::
$(MAKE) -C drivers depend
--include .depend
+include ../mpcommon.mak
More information about the MPlayer-cvslog
mailing list