diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2010-01-06 02:05:04 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-01-06 01:33:22 -0800 |
commit | 373a5ede53863132dbd3eeab262a8e29e763ddab (patch) | |
tree | 8d2ef7e8302fc8c48a84ab613d391af91879924d /t/t5702-clone-options.sh | |
parent | Makefile: regenerate assembler listings when asked (diff) | |
download | tgif-373a5ede53863132dbd3eeab262a8e29e763ddab.tar.xz |
Makefile: use target-specific variable to pass flags to cc
This allows reusing the standard %.o: %.c pattern rule even for
targets that require special flags to be set. Thus after this
change, any changes in the command for compilation only have to
be performed in one place.
Target-specific variables have been supported in GNU make since
version 3.77, which has been available since 1998.
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>
Diffstat (limited to 't/t5702-clone-options.sh')
0 files changed, 0 insertions, 0 deletions