[hackers] [scc] [lib] Execute ranlib in every library update || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Wed, 15 Jun 2016 16:53:56 +0200 (CEST)

commit 84b09d6ced57e60fd736a7f71c675256cbd9914f
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Wed Jun 15 16:52:24 2016 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
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
_AT_@ -9,6 +9,7 @@ all: libcc.a
 
 libcc.a: $(OBJS)
         ar r $_AT_ $?
+ ranlib $_AT_
 
 clean:
         rm -f *.o *.a
Received on Wed Jun 15 2016 - 16:53:56 CEST

This archive was generated by hypermail 2.3.0 : Wed Jun 15 2016 - 17:00:17 CEST