1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-17 06:25:13 +01:00
git/tools
Pavel Roskin b05701c5b4 Make CFLAGS overridable from make command line.
This patch renames COPTS to CFLAGS, because it's COPTS that was user
overridable.  Also, -Wall is moved there because it's optional.  What
was CFLAGS is now ALL_CFLAGS, which users should not override.

Defines are added to DEFINES.  Since ALL_CFLAGS is recursively expanded,
it uses the final value of DEFINES.

Implicit rules are made explicit since the implicit rules use CFLAGS
rather than ALL_CFLAGS.  I believe that serious projects should not rely
on implicit rules anyway.  Percent rules are used because they are used
already and because they don't need the .SUFFIXES target.

[jc: in addition to updating the patch for 0.99.4, I fixed up a
glitch in Pavel's original patch which compiled sha1.o out of
mozilla-sha1/sha1.c, where it should have left the resulting
object file in mozilla-sha1 directory for later "ar".]

Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
2005-08-12 10:38:22 -07:00
..
git-applymbox git-applymbox: allow retrying after fixing up. 2005-08-05 01:39:15 -07:00
git-applypatch Rename the "tools" programs to also have the "git-" prefix 2005-07-23 18:46:27 -07:00
mailinfo.c [PATCH] Fix sparse warnings 2005-08-03 21:41:56 -07:00
mailsplit.c Small typofix in mailsplit.c 2005-08-09 22:28:20 -07:00
Makefile Make CFLAGS overridable from make command line. 2005-08-12 10:38:22 -07:00