From: "Roberto E. Vargas Caballero" <[email protected]>
$? 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
@@ -163,7 +163,7 @@ config.h:
util.a: $(LIB)
@echo AR $@
- @$(AR) -r -c $@ $(LIB)
+ @$(AR) -r -c $@ $?
@ranlib $@
lastb: last
--
1.7.10.4