commit 84b09d6ced57e60fd736a7f71c675256cbd9914f
parent 464175ade20360c3f131fb85dc9d9eaecdd4a823
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Wed, 15 Jun 2016 16:52:24 +0200
[lib] Execute ranlib in every library update
Moderm ar update the index of the archive every time that a
r command is used, but it is not mandatory, and I prefer
call directly to ranlib because it make strong enphasis in
having differnt tools for different things.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/lib/Makefile b/lib/Makefile
@@ -9,6 +9,7 @@ all: libcc.a
libcc.a: $(OBJS)
ar r $@ $?
+ ranlib $@
clean:
rm -f *.o *.a