author | Jonathan Nieder <jrnieder@gmail.com> | |
Wed, 6 Jan 2010 08:06:03 +0000 (02:06 -0600) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 6 Jan 2010 09:33:35 +0000 (01:33 -0800) | ||
commit | de54e67c1a892167ade274017a946de1f99920d1 | |
tree | d378a4e1bccb23134f151b60e3a3df3a3328c6c5 | tree | snapshot |
parent | 373a5ede53863132dbd3eeab262a8e29e763ddab | commit | diff |
Makefile: learn to generate listings for targets requiring special flags
'make git.s' to debug code generation of main() fails because
git.c makes use of preprocessor symbols such as GIT_VERSION that
are not set. make does not generate code listings for
builtin_help.c, exec_cmd.c, builtin-init-db.c, config.c, http.c,
or http-walker.c either, for the same reason.
So pass the flags used to generate each .o file when generating
the corresponding assembler listing.
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
'make git.s' to debug code generation of main() fails because
git.c makes use of preprocessor symbols such as GIT_VERSION that
are not set. make does not generate code listings for
builtin_help.c, exec_cmd.c, builtin-init-db.c, config.c, http.c,
or http-walker.c either, for the same reason.
So pass the flags used to generate each .o file when generating
the corresponding assembler listing.
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile | diff | blob | history |