changeset 21191:932ad0594e86

Simplify LIBNAME target with $@ and $^.
author diego
date Sat, 25 Nov 2006 09:52:45 +0000
parents 1feb8af493d6
children 1bcff3db7a7c
files osdep/Makefile
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/osdep/Makefile	Sat Nov 25 09:50:18 2006 +0000
+++ b/osdep/Makefile	Sat Nov 25 09:52:45 2006 +0000
@@ -49,8 +49,8 @@
 	windres -o $@ $<
 
 $(LIBNAME):     $(OBJS)
-	$(AR) r $(LIBNAME) $(OBJS)
-	$(RANLIB) $(LIBNAME)
+	$(AR) r $@ $^
+	$(RANLIB) $@
 
 all:    $(LIBNAME)