Makefile: regenerate assembler listings when asked
commit31838b4dcd27961b13e46ffd126233b208a29530
authorJonathan Nieder <jrnieder@gmail.com>
Wed, 6 Jan 2010 08:04:20 +0000 (6 02:04 -0600)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 Jan 2010 09:33:02 +0000 (6 01:33 -0800)
tree70f4483f7277266ef3ce4f6fd48e4ba1d51a4704
parent4ecbc65fa7decb2aa271d68d54e8563a679e6ec1
Makefile: regenerate assembler listings when asked

'make var.s' fails to regenerate an assembler listing if var.c
has not changed but a header it includes has:

$ make var.s
    CC var.s
$ touch cache.h
$ make var.s
$

The corresponding problem for 'make var.o' does not occur because
the Makefile lists dependencies for each .o target explicitly;
analogous dependency rules for the .s targets are not present.
Rather than add some, it seems better to force 'make' to always
regenerate assembler listings, since the assembler listing
targets are only invoked when specifically requested on the make
command line.

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