]> PatchyGit - patchyircd.git/commitdiff
nicer make output for pch
authorEgor <egor@patchysicp.xyz>
Fri, 13 Jun 2025 05:51:12 +0000 (08:51 +0300)
committerEgor <egor@patchysicp.xyz>
Fri, 13 Jun 2025 05:51:12 +0000 (08:51 +0300)
Makefile.am

index 70c445f..df0a2e1 100644 (file)
@@ -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