From d1a1c42eb3446b82efe0c1cf1673a7a57891f386 Mon Sep 17 00:00:00 2001 From: sin Date: Thu, 16 Oct 2014 11:33:05 +0100 Subject: [PATCH] Update only the modified objects in util.a --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fee73f4..c848f42 100644 --- a/Makefile +++ b/Makefile @@ -128,7 +128,7 @@ cp.o mv.o rm.o: fs.h util.a: $(LIB) @echo AR $@ - @$(AR) -r -c $@ $(LIB) + @$(AR) -r -c $@ $? @ranlib $@ install: all