From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OAgPKXeHCGdEiwAAe85BDQ:P1 (envelope-from ) for ; Fri, 11 Oct 2024 04:03:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id OAgPKXeHCGdEiwAAe85BDQ (envelope-from ) for ; Fri, 11 Oct 2024 04:03:35 +0200 X-Envelope-To: patches@johnnyrichard.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b=kiZpkmHb; dkim=pass header.d=johnnyrichard.com header.s=key1 header.b=nkesMpr9; spf=pass (aspmx1.migadu.com: domain of lists@sr.ht designates 46.23.81.152 as permitted sender) smtp.mailfrom=lists@sr.ht; dmarc=pass (policy=quarantine) header.from=johnnyrichard.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=johnnyrichard.com; s=key1; t=1728612215; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:list-id: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=5QpR8up7tTXfJltckSz7RqSccVUKMWdHmfaMdy2qSlU=; b=DxEL1tOfgXBlQnfKuh4m0N1yg7SoUTuFTk4hqWpyRyPp2VQHdk72tdL+CLYaHexbwHw1eA 4Pexgb1cDXZgBfBNz6e08uLqZOTQEJwSyp1RitNMPLAV5P5653J226ZN1vvvbUjtpVk0U5 RIYFYpvyCbbjKlTPFs/l3j8TnOI4CBpAmI1yg1NrSMsIeli5aCQzfOhNfx9sZefts9Bqee KNFaWx30MmdrxzDwahRUCLyH9dXEfA4PudaCdoraoh8WMGWBeXRWeS0B1+xRINeNEDqtyz iP/CV3eYsG6TfJZzJwJCgZJJZhNK3ETY6/zl5gfTX0M+D8Qvbo7J8ZTfI6TRBQ== ARC-Seal: i=1; s=key1; d=johnnyrichard.com; t=1728612215; a=rsa-sha256; cv=none; b=GA25m0Gwa4OFTF3gdvQuHgs6fgcQGt2A+SWf8ZPRoyMfqArF/bYprPfobZ/02m42r9Jr9G Clh75rKt8QY/FNZ4XqN6g8Pqq0s8+BHtOTcywlW05Owcc+7hyTXsIlBiEE9x4VlqEblUEZ tqesHK0KVKVrTbsvvPZHI3DzztnzKW0FB4RDORqVWQoLb6fbnFxQzGXaaAmGkB/0ogBwuE rWWqtx0SfDV62gPuVhVlwyiEMOagO3tbPTvmCcr8xwV1rUNvNeukhdg2pFOrZ76ajhd9iv Dnp+jt5LUJnG/nFSyB5M/qgQ9tssoR8g8Yg3YwrtcraamBduo3lSAgmZi/JOyw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b=kiZpkmHb; dkim=pass header.d=johnnyrichard.com header.s=key1 header.b=nkesMpr9; spf=pass (aspmx1.migadu.com: domain of lists@sr.ht designates 46.23.81.152 as permitted sender) smtp.mailfrom=lists@sr.ht; dmarc=pass (policy=quarantine) header.from=johnnyrichard.com Received: from mail-a.sr.ht (mail-a.sr.ht [46.23.81.152]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 247AE49CB for ; Fri, 11 Oct 2024 04:03:34 +0200 (CEST) DKIM-Signature: a=rsa-sha256; bh=SA91A2s3HqhbB9+C+J3uHFdw+/0035vryu03cOcty9I=; c=simple/simple; d=lists.sr.ht; h=From:To:Cc:Subject:Date:List-Unsubscribe:List-Subscribe:List-Archive:List-Post:List-ID; q=dns/txt; s=20240113; t=1728612214; v=1; b=kiZpkmHboqEkuoAOacfFGlKqKd0klPbEUNixC9b72eSdA4MM+UxWps4pt0ixEDDK9pQUQwbX Cd75pzXcSCwZmO6S3zE3cuC/UQfvNiXVhWhr3VjeXJWzoHsLIco7SgMrXEbWyvloCAphSrsclrF H4MqHdgyMkz18nC3SS8Upu11RLcV8WE02rZ58cVSobA+xYE0h6k4Scvuh6816Han3YCKi1pCKyK WE+4OqXvULgwYgeVTOnbeU/sEQHKwrPGJlKkk0bGjehLhkvc2MTM356/s6cXBSlByNCNmSPuM/c 1IfbizpvET5iKFxLPJ/i3E9hgA+5c3cBorAtlZIPkHbNQ== Received: from lists.sr.ht (unknown [46.23.81.154]) by mail-a.sr.ht (Postfix) with ESMTPSA id 1DA4F20232 for ; Fri, 11 Oct 2024 02:03:34 +0000 (UTC) Received: from out-177.mta0.migadu.com (out-177.mta0.migadu.com [91.218.175.177]) by mail-a.sr.ht (Postfix) with ESMTPS id 8C53220214 for <~johnnyrichard/olang-devel@lists.sr.ht>; Fri, 11 Oct 2024 02:03:33 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=johnnyrichard.com; s=key1; t=1728612213; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=5QpR8up7tTXfJltckSz7RqSccVUKMWdHmfaMdy2qSlU=; b=nkesMpr9LHHL1HkiYLojvSM0xmOY++aXKrnVyySIOCRuSsz22Ovpt/fk9Ywe98Tt+zWeSZ +OBshI/6bJHyTNGet77kKepQtOCQncCx6X+BQzp7RIbBcZG9FJrvXd2TTRgWKa8XLqLyx8 VFBbi8bh3noMxevlqJ5JLjLsSlrispVHQtG9yOMWp4Mptkb0vucFTKOZGTKBHDVQGB66th 8lB7nIQ1/36c3bVd03GoPNNopgjvwwXBJj5TqjFilB1RTUw8N4wjfL4lj8VR+e22hq/hWd VKCCSUuwBbUwIvDk/uT4WXDEnOnAuN2kaIOE7z35+eXHKUFD92hYiCOH9wbUxw== From: Johnny Richard To: ~johnnyrichard/olang-devel@lists.sr.ht Cc: Johnny Richard Subject: [PATCH olang v1] build: turn make build output less noisy Date: Fri, 11 Oct 2024 06:02:54 +0200 Message-ID: <20241011040257.147515-1-johnny@johnnyrichard.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Sourcehut-Patchset-Status: PROPOSED List-Unsubscribe: List-Subscribe: List-Archive: Archived-At: List-Post: List-ID: ~johnnyrichard/olang-devel <~johnnyrichard/olang-devel.lists.sr.ht> Sender: ~johnnyrichard/olang-devel <~johnnyrichard/olang-devel@lists.sr.ht> X-Migadu-Flow: FLOW_IN X-Migadu-Country: NL X-Migadu-Spam-Score: -4.88 X-Spam-Score: -4.88 X-Migadu-Queue-Id: 247AE49CB X-Migadu-Scanner: mx13.migadu.com X-TUID: LZa/7+28jToh Signed-off-by: Johnny Richard --- Makefile | 16 +++++++++------- tests/unit/Makefile | 6 ++++-- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index 3a799ae..58526ac 100644 --- a/Makefile +++ b/Makefile @@ -74,20 +74,21 @@ olang.info: docs/info/*.texi $(MAKEINFO) docs/info/olang.texi $(TARGET): $(BUILDDIR) $(OBJS) - $(CC) $(CFLAGS) $(OBJS) -o $(TARGET) + @$(CC) $(CFLAGS) $(OBJS) -o $(TARGET) + @printf 'CCLD\t%s\n' '$@' $(BUILDDIR): @mkdir -p $@ .PHONY: format format: $(SRCS) $(HEADERS) - clang-format --dry-run --Werror $? - $(MAKE) -C tests/unit/ format + @clang-format --dry-run --Werror $? + @$(MAKE) --no-print-directory -C tests/unit/ format .PHONY: format-fix format-fix: $(SRCS) $(HEADERS) - clang-format -i $? - $(MAKE) -C tests/unit/ format-fix + @clang-format -i $? + @$(MAKE) --no-print-directory -C tests/unit/ format-fix .PHONY: check-olc check-olc: $(TARGET) @@ -100,7 +101,7 @@ check-unit: $(TARGET) .PHONY: clean clean: @rm -f olang.info - $(MAKE) -C tests/unit/ clean + @$(MAKE) --no-print-directory -C tests/unit/ clean @rm -rf build/ $(TARGET) .PHONY: check @@ -115,4 +116,5 @@ docs-dist: $(MAKE) -C docs dist $(BUILDDIR)/%.o: $(SRCDIR)/%.c - $(CC) $(CFLAGS) -c $< -o $@ + @$(CC) $(CFLAGS) -c $< -o $@ + @printf 'CC\t%s\n' '$@' diff --git a/tests/unit/Makefile b/tests/unit/Makefile index 686938f..0a5c5aa 100644 --- a/tests/unit/Makefile +++ b/tests/unit/Makefile @@ -11,6 +11,7 @@ all: $(RUN_TESTS) %.bin: %.c $(MUNIT) @$(CC) $(CFLAGS) $(MUNIT) $(DEP_OBJS) $< -o $@ + @printf 'CCLD\t%s\n' '$@' %.run: %.bin @./$< @@ -20,10 +21,11 @@ clean: @$(RM) -rfv lib format: $(SRCS) - clang-format --dry-run --Werror $? + @clang-format --dry-run --Werror $? format-fix: $(SRCS) - clang-format -i $? + @clang-format -i $? $(MUNIT): @$(CC) -c $(MUNIT_SRC) $(CFLAGS) -o $(MUNIT) + @printf 'CCLD\t%s\n' '$@' base-commit: 6b93fd0059d5d5e9923cad79ad2f0f2938f793ed -- 2.46.0