]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Makefile: split up long OBJECTS line
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Tue, 23 Feb 2021 11:41:28 +0000 (12:41 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 23 Feb 2021 17:57:58 +0000 (09:57 -0800)
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>
Makefile

index 588f75c3a0d3eaca1d7e8c9b1dab1ea1ee3eca48..ba21075d7ce3e9e709e13e70087a184a217f9849 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -583,6 +583,7 @@ EXTRA_CPPFLAGS =
 FUZZ_OBJS =
 FUZZ_PROGRAMS =
 LIB_OBJS =
+OBJECTS =
 PROGRAM_OBJS =
 PROGRAMS =
 EXCLUDED_PROGRAMS =
@@ -2386,11 +2387,15 @@ XDIFF_OBJS += xdiff/xprepare.o
 XDIFF_OBJS += xdiff/xutils.o
 
 TEST_OBJS := $(patsubst %$X,%.o,$(TEST_PROGRAMS)) $(patsubst %,t/helper/%,$(TEST_BUILTINS_OBJS))
-OBJECTS := $(LIB_OBJS) $(BUILTIN_OBJS) $(PROGRAM_OBJS) $(TEST_OBJS) \
-       $(XDIFF_OBJS) \
-       $(FUZZ_OBJS) \
-       common-main.o \
-       git.o
+
+OBJECTS += $(LIB_OBJS)
+OBJECTS += $(BUILTIN_OBJS)
+OBJECTS += $(PROGRAM_OBJS)
+OBJECTS += $(TEST_OBJS)
+OBJECTS += $(XDIFF_OBJS)
+OBJECTS += $(FUZZ_OBJS)
+OBJECTS += common-main.o
+OBJECTS += git.o
 ifndef NO_CURL
        OBJECTS += http.o http-walker.o remote-curl.o
 endif