From: Egor Date: Fri, 13 Jun 2025 05:51:12 +0000 (+0300) Subject: nicer make output for pch X-Git-Url: https://git.patchysicp.xyz/?a=commitdiff_plain;h=bc013285ebaa2277541efa7933ed9fef22452e7a;p=patchyircd.git nicer make output for pch --- diff --git a/Makefile.am b/Makefile.am index 70c445f..df0a2e1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -51,12 +51,12 @@ valgrind: ircd .PHONY: pch if ENABLE_PCH -CLEANFILES = common.h.@PCHEXT@ +MOSTLYCLEANFILES = common.h.@PCHEXT@ AM_CPPFLAGS = -Winvalid-pch `test -f common.h.@PCHEXT@ && printf @PCHOPT@ "common.h"` common.h.@PCHEXT@: src/common.h - $(RM) $@; $(CXXCOMPILE) -x c++-header -o $@ $< + $(AM_V_GEN)$(RM) $@; $(CXXCOMPILE) -x c++-header -o $@ $< pch: common.h.@PCHEXT@ pch.mk: common.h.@PCHEXT@ - : >pch.mk + @: >pch.mk -include pch.mk endif