mirror of
https://github.com/git/git.git
synced 2026-01-11 18:45:28 +00:00
Makefile: add an explicit rule for building assembly output
In the kernel we have a rule for *.c -> *.s files exactly because it's nice to be able to easily say "ok, what does that generate". Here's a patch to add such a rule to git too, in case anybody is interested. It makes it much simpler to just do make sha1_file.s and look at the compiler-generated output that way, rather than having to fire up gdb on the resulting binary. (Add -fverbose-asm or something if you want to, it can make the result even more readable) [jc: add *.s to .gitignore] Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
301ac38b12
commit
e36cb1c16d
2
.gitignore
vendored
2
.gitignore
vendored
@@ -159,7 +159,7 @@ common-cmds.h
|
||||
*.deb
|
||||
git-core.spec
|
||||
*.exe
|
||||
*.[ao]
|
||||
*.[aos]
|
||||
*.py[co]
|
||||
config.mak
|
||||
autom4te.cache
|
||||
|
||||
Reference in New Issue
Block a user