From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EKl/A3GHCGdYvQAA62LTzQ:P1 (envelope-from ) for ; Fri, 11 Oct 2024 04:03:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id EKl/A3GHCGdYvQAA62LTzQ (envelope-from ) for ; Fri, 11 Oct 2024 04:03:29 +0200 X-Envelope-To: patches@johnnyrichard.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b=cKT5dt4i; dkim=pass header.d=johnnyrichard.com header.s=key1 header.b=Yy1soCTf; dmarc=pass (policy=quarantine) header.from=johnnyrichard.com; spf=pass (aspmx1.migadu.com: domain of lists@sr.ht designates 46.23.81.152 as permitted sender) smtp.mailfrom=lists@sr.ht ARC-Seal: i=1; s=key1; d=johnnyrichard.com; t=1728612208; a=rsa-sha256; cv=none; b=t3ZEcjMzEDLZCagQIvNQhoFtYEEXQTJHRYlKWwGMIxpZ5wMusFVksVBwXI65MhXHmtWZqF eaHZuYIHF6Km/76d+nBMaNNYjkYI5sxKlW6w5xntwz/dnMMzXFtkJdFmPaj551iJ+B5IJT aUqRWuLcOl2cE02Hwl5ZKcVMsCvXr+jLU8Yj8evlgKFnxYhYbpZDRnzkC2kE1OTocYsbMe L55pUDIlsxQME/N9RXazHtLj753uzUpt6JGK0IyvpbbCeNXhjGyLm7nx9168CudpYU6lrm lG2Fv5YUZcQId9gL4zdg/hcZuac8dKv8NHyE/0GSs20oF/242F4M8Udss1TWoQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b=cKT5dt4i; dkim=pass header.d=johnnyrichard.com header.s=key1 header.b=Yy1soCTf; dmarc=pass (policy=quarantine) header.from=johnnyrichard.com; spf=pass (aspmx1.migadu.com: domain of lists@sr.ht designates 46.23.81.152 as permitted sender) smtp.mailfrom=lists@sr.ht ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=johnnyrichard.com; s=key1; t=1728612208; 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=Iv3cKHsoEW6xyIjJPC+NvujnwXZfGvgGVttLreD7gkaO1ow+Rr7dlJQZE6NZyGetnhTHd8 1WJlRCE4jDF7BarftAwulcKQgXfN1J4MzEebGNPIMGrDqQUz9Wec9AiHL4oB1Z94hx7w6S m/3MqXbbi4sg5SMoV4pXcbxXhWuQ5J6i/keZV6KFLthpjmTFyZLz9pUvpQ+kgu/qdbLZ2K 2/eNu/6B8ywgoL5nAHRLM9K3vQbUs/Vbwt5de7QUjli+k8QvSRegu34W2MHTgQw34BeAsG n+DgaF2iwAUdfq20L1X4+yHPIlT2zP0qdqBbxcmvrTjiF4emEoySU1C2QTXojA== 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 7B19576269 for ; Fri, 11 Oct 2024 04:03:28 +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=1728612208; v=1; b=cKT5dt4iWK3YIrlObN/cnsoAaluHZjL4hpprqaxqOT3oT18ki6D2YYd6iOb+vifyzuDs/A8R ztn43MEHY3HbT5F6I9UwUDFg6/7+YL5BCNgYwFh8q8/BpkdZ01oLY+BUqcGgJHQmcw/LTPbdqa+ kbXSt/gx2Q/mfhom7gUDZ/ZzAkwGChhq4R/CZPWQe/et9YsAOzaoV1GFJozdPOCgIgiXZaFcfWi +dl1bJaZpDAipPc7VzEIr4i7Li8y7SIe6BasvB3iXrnwa9cUI1qQl8bdwA1wLUH33KGLnmB9C4s 5B7EfXAHcSVvUgEKG23AZAGxv3cDmPkr9otsEIE1bnBzw== Received: from lists.sr.ht (unknown [46.23.81.154]) by mail-a.sr.ht (Postfix) with ESMTPSA id 449802022D for ; Fri, 11 Oct 2024 02:03:28 +0000 (UTC) Received: from out-175.mta0.migadu.com (out-175.mta0.migadu.com [91.218.175.175]) by mail-a.sr.ht (Postfix) with ESMTPS id 79D4620214 for <~johnnyrichard/olang-devel@lists.sr.ht>; Fri, 11 Oct 2024 02:03:27 +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=1728612206; 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=Yy1soCTfT3yGngHxyY59mc7Ftxh7r6pflQXr5WrFCv8tGog3r8161Lo7f8tJPyKWUsu/jw sVk42/BWeK09tNaHJ5Y3YxS0IOItAR0AcbuccpQrPAQoxVpVoEG5cedwDCMgIM6FTHgGuF kbM7kN2OKNjuFyIJYP6v1+TxoJEPyVhd/A6knJNf3HKTPPtHR8VDeVD+qK0wAB5Ck1piHd qIGd5WbFk8WEgibpaGmqzurarwCH0DcW4uMIso9gqss5YhwmmVxLPeR3Lp0truGqp7QDLS +8pOWjlAK06beTWjAIZ1HMTleSDz7TS91BtU3pzqJPQ3ru8Ub9fzQzV6PnWJ0A== 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:45 +0200 Message-ID: <20241011040246.147490-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-Country: NL X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -5.68 X-Spam-Score: -5.68 X-Migadu-Queue-Id: 7B19576269 X-Migadu-Scanner: mx10.migadu.com X-TUID: eG+r/T3zBRrD 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