Re: [PATCH v3 2/2] Makefile: use $(OBJECTS) instead of $(C_OBJ)
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 31, 2022, 21:44 UTC
- Message-ID
- <xmqqmtbkdr5n.fsf@gitster.g>
- In-Reply-To
- <patch-v3-2.2-cb3bc8b5029-20220831T090744Z-avarab@gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
Show 9 quoted lines
> In the preceding commit $(C_OBJ) added in c373991375a (Makefile: list > generated object files in OBJECTS, 2010-01-26) became synonymous with > $(OBJECTS). Let's avoid the indirection and use the $(OBJECTS) > variable directly instead. > > Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> > --- > Makefile | 6 ++---- > 1 file changed, 2 insertions(+), 4 deletions(-)
This is a declaration that we would never ever build .o files out of sources other than .c files. While it does make sense to have it outside the scope of [PATCH 1/2], I am not sure if it even belongs to the same series.