summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2025-01-11 11:53:03 +0900
committerNobuyoshi Nakada <nobu.nakada@gmail.com>2025-12-02 09:55:01 +0900
commitec80e92a4789533a2ae0be3aa3709c6d6ab229d2 (patch)
tree28a4f5e661176a5cf3108acc3b894a979ac307f0
parentfa513886410a85c2229acfa558c5375e5fad278b (diff)
Win32: Refine outputs
- Suppress logos from sub makes. - Set the prompt for `for` command when `echo` is on.
-rw-r--r--win32/Makefile.sub6
1 files changed, 5 insertions, 1 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index 737c8f6bd6..68de9d5cf4 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -13,6 +13,10 @@ PWD = $(MAKEDIR)
empty =
tooldir = $(srcdir)/tool
+PROMPT = +$$S
+
+MAKEFLAGS = l$(MAKEFLAGS)
+
!ifndef MFLAGS
MFLAGS=-l
!endif
@@ -1210,7 +1214,7 @@ realclean-prism: distclean-prism
.bundle/realclean.sub:: ext/realclean.mk
ext/clean.mk ext/distclean.mk ext/realclean.mk::
- $(Q)if exist $(EXTS_MK) $(MAKE) -k -f $(EXTS_MK) top_srcdir=$(srcdir) $(*F)
+ $(Q)if exist $(EXTS_MK) $(MAKE) $(MFLAGS) -k -f $(EXTS_MK) top_srcdir=$(srcdir) $(*F)
ext/clean.sub ext/distclean.sub ext/realclean.sub \
.bundle/clean.sub .bundle/distclean.sub .bundle/realclean.sub::