From: Junio C Hamano Date: Wed, 22 Sep 2021 23:28:46 GMT Subject: Re: [PATCH 0/3] Makefile: make "sparse" and "hdr-check" non-.PHONY Message-ID: In-Reply-To: <82c3d9fc-32ff-c38a-cb44-873af1fb83d1@ramsayjones.plus.com> Ramsay Jones writes: >>> At the heart of my unease is dependencies (or rather the lack) for >>> the 'synthetic object files' *.hco and *.sp. (Also, the addition >>> of even more 'shrapnel' to the build directories - I wrote a patch >>> to remove the useless *.hcc files just after commit b503a2d515e was >>> included, but didn't get around to submitting it). >> >> I don't consider them shrapnel if they're holding useful results. :) > > Heh, yes I am a bit of a curmudgeon! :D We do not necessarily have to have these files immediately next to the corresponding source file. For example, we could give .shrapnel/ hierarchy to *.hco and *.sp files, so that for revision.c and compat/bswap.h, we'd create .shrapnel/revision.sp and .shrapnel/compat/bswap.hco files that will not be so cluttering ;-)