diff libvo/Makefile @ 21287:f423ce0a1c36

Move common code for generating multiple libraries to mpcommon.mak.
author diego
date Mon, 27 Nov 2006 01:40:39 +0000
parents a396402b091b
children 5fdf546b4e57
line wrap: on
line diff
--- a/libvo/Makefile	Mon Nov 27 01:36:13 2006 +0000
+++ b/libvo/Makefile	Mon Nov 27 01:40:39 2006 +0000
@@ -1,12 +1,9 @@
 
 include ../config.mak
 
+LIBNAME2 = libosd.a
+ifeq ($(MPLAYER),yes)
 LIBNAME = libvo.a
-LIBNAME2 = libosd.a
-
-LIBS =$(LIBNAME2)
-ifeq ($(MPLAYER),yes)
-LIBS+=$(LIBNAME)
 endif
 
 SRCS=aspect.c \
@@ -45,9 +42,3 @@
 
 .m.o:
 	$(CC) -c $(CFLAGS) -o $@ $<
-
-all:    $(LIBS)
-
-$(LIBNAME2): $(OBJS2)
-	$(AR) r $@ $^
-	$(RANLIB) $@