diff libmpcodecs/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 abc8e3f73107
children 2dcbbe65d16d
line wrap: on
line diff
--- a/libmpcodecs/Makefile	Mon Nov 27 01:36:13 2006 +0000
+++ b/libmpcodecs/Makefile	Mon Nov 27 01:40:39 2006 +0000
@@ -2,11 +2,8 @@
 include ../config.mak
 
 LIBNAME = libmpcodecs.a
+ifeq ($(MENCODER),yes)
 LIBNAME2 = libmpencoders.a
-
-LIBS =$(LIBNAME)
-ifeq ($(MENCODER),yes)
-LIBS+=$(LIBNAME2)
 endif
 
 SRCS = native/minilzo.c \
@@ -176,12 +173,6 @@
 
 include ../mpcommon.mak
 
-all:    $(LIBS)
-
-$(LIBNAME2): $(OBJS2)
-	$(AR) r $@ $^
-	$(RANLIB) $@
-
 clean::
 	rm -f native/*.o native/*.a native/*~