Makefile: fix generation of assembler listings
Status from this message: Thanks, applied.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | Makefile: regenerate assembler listings when askedMakefile | +2 | 0 replies | |
| 2/5 | Makefile: use target-specific variable to pass flags to ccMakefile | +18 | 1 reply | |
| 3/5 | Makefile: learn to generate listings for targets requiring special flagsMakefile | +7 | 0 replies | |
| 4/5 | Makefile: consolidate .FORCE-* targetsDocumentation/ Makefile | +8 | 0 replies | |
| 5/5 | git-gui/Makefile: consolidate .FORCE-* targetsMakefile | +3 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/5] Makefile: fix generation of assembler listings
Quoted 3 lines · Jonathan Nieder
This adds yet another phony .FORCE-foo target. Wouldn’t it be simpler to use a single target called .FORCE, or is there something I am missing that that would break?
I didn’t hear any screams when I suggested this about a month ago, so let’s try it out.
Patch 1 fixes a problem I noticed when tweaking the Makefile to automatically generate dependencies for the %.o targets. The problem is that the dependencies for the corresponding %.s (code listing) targets are not included in the Makefile at all, automatically or not. Thus the command "make var.s var.o && touch cache.h && make var.s var.o" produces the output
CC var.s
CC var.o
CC var.o
not regenerating var.s to reflect potential changes in cache.h.
"make git.s" previously did not work at all; patches 2-3 fix that.
Jonathan Nieder (5):
Makefile: regenerate assembler listings when asked
Makefile: use target-specific variable to pass flags to cc
Makefile: learn to generate listings for targets requiring special
flags
Makefile: consolidate .FORCE-* targets git-gui/Makefile: consolidate .FORCE-* targets
Documentation/Makefile | 4 +- Makefile | 56 ++++++++++++++++++++--------------------------- git-gui/Makefile | 7 ++--- 3 files changed, 29 insertions(+), 38 deletions(-)