Makefile: fix location of listing produced by "make subdir/foo.s"
commit1015cc4225542ba69cf1627a743978f304a29c71
authorJonathan Nieder <jrnieder@gmail.com>
Sun, 22 Jul 2012 23:47:26 +0000 (22 18:47 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 23 Jul 2012 04:30:26 +0000 (22 21:30 -0700)
treeef396e6789d04f7dcfba2888594113a289ff03ca
parentd0f1ea6003d97e63110fa7d50bb07f546a909b6e
Makefile: fix location of listing produced by "make subdir/foo.s"

When I invoke "make block-sha1/sha1.s", 'make' runs $(CC) -S without
specifying where it should put its output and the output ends up in
./sha1.s.  Confusing.

Add an -o option to the .s rule to fix this.  We were already doing
that for most compiler invocations but had forgotten it for the
assembler listings.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile