commit 84b09d6ced57e60fd736a7f71c675256cbd9914f
Author:     Roberto E. Vargas Caballero <[email protected]>
AuthorDate: Wed Jun 15 16:52:24 2016 +0200
Commit:     Roberto E. Vargas Caballero <[email protected]>
CommitDate: Wed Jun 15 16:52:24 2016 +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.

diff --git a/lib/Makefile b/lib/Makefile
index 63fa771..b88a378 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -9,6 +9,7 @@ all: libcc.a
 
 libcc.a: $(OBJS)
        ar r $@ $?
+       ranlib $@
 
 clean:
        rm -f *.o *.a

Reply via email to