wmake: Simplified QUIET_MESSAGE function

This commit is contained in:
Henry Weller
2016-11-13 11:19:29 +00:00
parent 9c3ea9c4ff
commit 2b3f1d6a41
11 changed files with 22 additions and 20 deletions

View File

@ -3,7 +3,7 @@
ifneq ("$(WM_QUIET)","")
E=@
define QUIET_MESSAGE
@echo $1 ;
@echo " $1: $2";
endef
QUIET_OP=-s
else
@ -15,7 +15,7 @@ endif
define DEFINE_TRANSFORM
$(OBJECTS_DIR)/%.o : %$1
$(call QUIET_MESSAGE, " $(subst .,,$(1))too: $(value <F)")
$(call QUIET_MESSAGE,$(subst .,,$(1))too,$(value <F))
$E $$($(subst .,,$(1))too)
endef