[dev] [ubase][PATCH] Update only the modified objects in util.a

From: <k0ga_AT_shike2.com>
Date: Thu Oct 16 10:59:00 CES 2014

From: "Roberto E. Vargas Caballero" <k0ga_AT_shike2.com>

$? is expanded to all the requisites that are newer than the current target,
so we can avoid update files that were not modified since last time
the library was built.
---
 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 07c2de0..f172c7c 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -163,7 +163,7 @@ config.h:
 
 util.a: $(LIB)
 	_AT_echo AR $@
-	_AT_$(AR) -r -c $@ $(LIB)
+	_AT_$(AR) -r -c $@ $?
 	_AT_ranlib $@
 
 lastb: last
-- 
1.7.10.4
Received on Thu Jan 01 1970 - 00:59:59 CET

This archive was generated by hypermail 2.3.0 : Thu Oct 16 2014 - 11:36:13 CEST