changeset 21228:e57ac78dc8e7

simplify
author diego
date Sat, 25 Nov 2006 18:45:03 +0000
parents 308495b6d611
children 36046375aacd
files libmpcodecs/Makefile
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/Makefile	Sat Nov 25 18:37:37 2006 +0000
+++ b/libmpcodecs/Makefile	Sat Nov 25 18:45:03 2006 +0000
@@ -323,13 +323,13 @@
 
 all:    $(LIBS)
 
-$(LIBNAME):     $(OBJS)
-	$(AR) r $(LIBNAME) $(OBJS)
-	$(RANLIB) $(LIBNAME)
+$(LIBNAME): $(OBJS)
+	$(AR) r $@ $^
+	$(RANLIB) $@
 
-$(LIBNAME2):     $(OBJS2)
-	$(AR) r $(LIBNAME2) $(OBJS2)
-	$(RANLIB) $(LIBNAME2)
+$(LIBNAME2): $(OBJS2)
+	$(AR) r $@ $^
+	$(RANLIB) $@
 
 clean:
 	rm -f *.o *.a *~