Make: less verbose archive

This commit is contained in:
Wilson Snyder 2020-08-27 18:47:12 -04:00
parent 02e83da2fa
commit 687edba969
1 changed files with 2 additions and 1 deletions

View File

@ -205,7 +205,8 @@ endif
# 1. Extract object files from .a
# 2. Create a new archive from extracted .o and given .o
%.a:
if test $(words $(filter %.a,$^)) -eq 0; then \
@echo "Archive $(AR) -cr $@ $^"
@if test $(words $(filter %.a,$^)) -eq 0; then \
$(AR) -cr $@ $^; \
$(RANLIB) $@; \
else \