From 07164769e5a4fdc5acd3ab308091a324cf8c631b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9=20=D0=91=D0=B0?= =?UTF-8?q?=D1=80=D0=B0=D0=B1=D0=B0=D0=BD=D0=BE=D0=B2?= Date: Sat, 18 Apr 2026 11:21:11 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BD=D0=B5=D0=B1=D0=BE=D0=BB=D1=8C=D1=88?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index b63079b..60f67da 100644 --- a/makefile +++ b/makefile @@ -67,8 +67,15 @@ define measure_time $(2); \ end=$$(date +%s); \ duration=$$((end - start)); \ - echo "$(1): $$duration сек" >> $(TIMING_FILE); \ - echo "$(GREEN)✓ $(1) завершён за $$duration сек$(NC)" + if [ $$duration -ge 60 ]; then \ + min=$$((duration / 60)); \ + sec=$$((duration % 60)); \ + time_str="$${min}m $${sec}s"; \ + else \ + time_str="$${duration}s"; \ + fi; \ + echo "$(1): $$time_str" >> $(TIMING_FILE); \ + echo "$(GREEN)✓ $(1) завершён за $$time_str$(NC)" endef define print_timing_summary