Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2007-05-30 21:42:41 +0400
committerJunio C Hamano <gitster@pobox.com>2007-06-11 02:15:17 +0400
commite36cb1c16dfd10622fb9da1dffb478240b7e7713 (patch)
tree820ec35baef8a3bb9f91ca6d334484fbb2e728e0 /.gitignore
parent301ac38b12126133445d544f7cc5d65768b9310f (diff)
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>
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 27e5aeb8a0..bd49cd4627 100644
--- a/.gitignore
+++ b/.gitignore
@@ -159,7 +159,7 @@ common-cmds.h
*.deb
git-core.spec
*.exe
-*.[ao]
+*.[aos]
*.py[co]
config.mak
autom4te.cache