From a8db5642017a0c4a3a5df1aa36abca9af5ea4454 Mon Sep 17 00:00:00 2001 From: yenatch Date: Fri, 6 Apr 2018 01:07:27 -0400 Subject: fix newlines in recursive make output --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 892c973af..433ce96b0 100644 --- a/Makefile +++ b/Makefile @@ -63,10 +63,12 @@ ALL_BUILDS := ruby ruby_rev1 ruby_rev1 sapphire sapphire_rev1 sapphire_rev2 ruby # Available targets .PHONY: all clean tidy tools $(ALL_BUILDS) +infoshell = $(foreach line, $(shell $1 | sed "s/ /__SPACE__/g"), $(info $(subst __SPACE__, ,$(line)))) + # Build tools when building the rom # Disable dependency scanning for clean/tidy/tools ifeq (,$(filter-out all,$(MAKECMDGOALS))) -$(info $(shell $(MAKE) tools)) +$(call infoshell, $(MAKE) tools) else NODEP := 1 endif -- cgit v1.2.3