Makefile: add/remove comments at top and tweak whitespace

The top of the Makfile is mostly separated into logical steps like set default configuration, set programs etc., but there's some deviation from that. Let's add mostly comments where they're missing, remove those that don't add anything. The whitespace tweaking makes subsequent patches smaller. 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 22, 2019 at 15:41 UTC 65260a4f23761eceb37917e8bfc4aca36cc890ca
1 file changed +3 -7
Makefile
+3 -7
@@ -507,15 +507,14 @@ GIT-VERSION-FILE: FORCE
507 -include GIT-VERSION-FILE
508
509 # CFLAGS and LDFLAGS are for the users to override from the command line.
510 -
510 CFLAGS = -g -O2 -Wall
511 LDFLAGS =
512 ALL_CFLAGS = $(CPPFLAGS) $(CFLAGS)
513 ALL_LDFLAGS = $(LDFLAGS)
515 -
516 -# Create as necessary, replace existing, make ranlib unneeded.
514 ARFLAGS = rcs
515
516 +# Set our default configuration.
517 +#
518 # Among the variables below, these:
519 # gitexecdir
520 # template_dir
@@ -560,6 +559,7 @@ perllibdir_relative = $(patsubst $(prefix)/%,%,$(perllibdir))
559
560 export prefix bindir sharedir sysconfdir gitwebdir perllibdir localedir
561
562 +# Set our default programs
563 CC = cc
564 AR = ar
565 RM = rm -f
@@ -587,10 +587,6 @@ SP_EXTRA_FLAGS =
587
588 SPATCH_FLAGS = --all-includes --patch .
589
590 -
591 -
592 -### --- END CONFIGURATION SECTION ---
593 -
590 BASIC_CFLAGS = -I.
591 BASIC_LDFLAGS =
592