From 8aa2a900974b100672d1af89a97c1043372a446d Mon Sep 17 00:00:00 2001 From: Tom Schwindl Date: Wed, 20 Jul 2022 14:26:57 +0000 Subject: Use ar(1)'s s-flag instead of invoking ranlib(1) ranlib(1) is legacy and not even part of POSIX anymore, ar(1) can do the same job with the s-flag (which is an XSI-extension, but whatever). --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index bd6e472..b885258 100644 --- a/Makefile +++ b/Makefile @@ -140,8 +140,7 @@ all: libzahl.a $(DOC) $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $< libzahl.a: $(OBJ) - $(AR) rc $@ $? - $(RANLIB) $@ + $(AR) -rcs $@ $? test-random.c: test-generate.py ./test-generate.py > test-random.c -- cgit v1.2.3-70-g09d2