X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=Makefile.local;h=2eb55e6ce1cdd3ead68b8b0db8d90b7d4873f5a0;hb=ab3ac525a01c21a726bc59b63a7a4c7c3f75b123;hp=af12ca7f2ef88353648fbbf584422cd613bdb830;hpb=65b17dab461ef847b418aff69bc53e697ec2d20b;p=notmuch diff --git a/Makefile.local b/Makefile.local index af12ca7f..2eb55e6c 100644 --- a/Makefile.local +++ b/Makefile.local @@ -182,14 +182,14 @@ verify-newer: # user how to enable verbose compiles. ifeq ($(V),) quiet_DOC := "Use \"$(MAKE) V=1\" to see the verbose compile lines.\n" -quiet = @printf $(quiet_DOC)$(eval quiet_DOC:=)"$1 $@\n"; $($(shell echo $1 | sed -e s'/ .*//')) +quiet = @printf $(quiet_DOC)$(eval quiet_DOC:=)"$(1) $(or $(2),$@)\n"; $($(word 1, $(1))) endif # The user has explicitly enabled quiet compilation. ifeq ($(V),0) -quiet = @printf "$1 $@\n"; $($(shell echo $1 | sed -e s'/ .*//')) +quiet = @printf "$(1) $(or $(2),$@)\n"; $($(word 1, $(1))) endif # Otherwise, print the full command line. -quiet ?= $($(shell echo $1 | sed -e s'/ .*//')) +quiet ?= $($(word 1, $(1))) %.o: %.cc $(global_deps) @mkdir -p $(patsubst %/.,%,.deps/$(@D))