summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/libmpcodecs/Makefile b/libmpcodecs/Makefile
index d58f707fd1..a304ab7400 100644
--- a/libmpcodecs/Makefile
+++ b/libmpcodecs/Makefile
@@ -323,13 +323,13 @@ CFLAGS = -I. -I.. \
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 *~