Makefile: split up long OBJECTS line

Split up the long OBJECTS line into multiple lines using the "+=" assignment we commonly use elsewhere in the Makefile when these lines get unwieldy. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Ævar Arnfjörð Bjarmason committed Feb 23, 2021 at 12:41 UTC 752b3ef972e3f28626cf92332380dc093441aa80
1 file changed +10 -5
Makefile
+10 -5
@@ -583,6 +583,7 @@ EXTRA_CPPFLAGS =
583 FUZZ_OBJS =
584 FUZZ_PROGRAMS =
585 LIB_OBJS =
586 +OBJECTS =
587 PROGRAM_OBJS =
588 PROGRAMS =
589 EXCLUDED_PROGRAMS =
@@ -2386,11 +2387,15 @@ XDIFF_OBJS += xdiff/xprepare.o
2387 XDIFF_OBJS += xdiff/xutils.o
2388
2389 TEST_OBJS := $(patsubst %$X,%.o,$(TEST_PROGRAMS)) $(patsubst %,t/helper/%,$(TEST_BUILTINS_OBJS))
2389 -OBJECTS := $(LIB_OBJS) $(BUILTIN_OBJS) $(PROGRAM_OBJS) $(TEST_OBJS) \
2390 - $(XDIFF_OBJS) \
2391 - $(FUZZ_OBJS) \
2392 - common-main.o \
2393 - git.o
2390 +
2391 +OBJECTS += $(LIB_OBJS)
2392 +OBJECTS += $(BUILTIN_OBJS)
2393 +OBJECTS += $(PROGRAM_OBJS)
2394 +OBJECTS += $(TEST_OBJS)
2395 +OBJECTS += $(XDIFF_OBJS)
2396 +OBJECTS += $(FUZZ_OBJS)
2397 +OBJECTS += common-main.o
2398 +OBJECTS += git.o
2399 ifndef NO_CURL
2400 OBJECTS += http.o http-walker.o remote-curl.o
2401 endif