Skip to content

Commit 752b3ef

Browse files
avargitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent bed3419 commit 752b3ef

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

Makefile

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,7 @@ EXTRA_CPPFLAGS =
583583
FUZZ_OBJS =
584584
FUZZ_PROGRAMS =
585585
LIB_OBJS =
586+
OBJECTS =
586587
PROGRAM_OBJS =
587588
PROGRAMS =
588589
EXCLUDED_PROGRAMS =
@@ -2386,11 +2387,15 @@ XDIFF_OBJS += xdiff/xprepare.o
23862387
XDIFF_OBJS += xdiff/xutils.o
23872388

23882389
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
23942399
ifndef NO_CURL
23952400
OBJECTS += http.o http-walker.o remote-curl.o
23962401
endif

0 commit comments

Comments
 (0)