aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTom Schwindl <schwindl@posteo.de>2022-07-20 14:26:57 +0000
committerMattias Andrée <maandree@kth.se>2022-07-21 01:26:34 +0200
commit8aa2a900974b100672d1af89a97c1043372a446d (patch)
tree26ab8cd8a8a7b87a8c9915b93ae84eea39daf398 /Makefile
parentFix errors in the manual found by Ivan Zuboff (diff)
downloadlibzahl-8aa2a900974b100672d1af89a97c1043372a446d.tar.gz
libzahl-8aa2a900974b100672d1af89a97c1043372a446d.tar.bz2
libzahl-8aa2a900974b100672d1af89a97c1043372a446d.tar.xz
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).
Diffstat (limited to '')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
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