# Re: \[PATCH v3 2/2\] Makefile: use $(OBJECTS) instead of $(C\_OBJ)

- From: Junio C Hamano \<hidden\>
- Date: 2022-08-31 21:44:45 
- List: git
- Page: https://ratatoskr.run/git/2022/08/7955377
- Thread: https://ratatoskr.run/git/2022/08/7955377/t.md

```text
Ævar Arnfjörð Bjarmason  [ref] writes:

> 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 <redacted>
> ---
>  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.

```
