summaryrefslogtreecommitdiffstats
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-rw-r--r--win32/Makefile.sub4
-rw-r--r--win32/setup.mak2
2 files changed, 3 insertions, 3 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index a04f614c2..03c4fe3fb 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -43,7 +43,7 @@ YACC = byacc
AR = lib -nologo
PURIFY =
AUTOCONF = autoconf
-RM = $(srcdir:/=\)\win32\rm.bat
+RM = $(COMSPEC) /C $(srcdir:/=\)\win32\rm.bat
!if !defined(PROCESSOR_ARCHITECTURE)
PROCESSOR_ARCHITECTURE = x86
@@ -194,7 +194,7 @@ config.status: $(CONFIG_H)
$(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub
@echo Creating config.h
- @$(srcdir:/=\)\win32\ifchange.bat config.h <<
+ @$(COMSPEC) /C $(srcdir:/=\)\win32\ifchange.bat config.h <<
#if _MSC_VER != $(MSC_VER)
#error MSC version unmatch
#endif
diff --git a/win32/setup.mak b/win32/setup.mak
index 4d885b7fc..98f72c003 100644
--- a/win32/setup.mak
+++ b/win32/setup.mak
@@ -153,5 +153,5 @@ $(CPU) = $(PROCESSOR_LEVEL)
$(BANG)include $$(srcdir)/win32/Makefile.sub
<<
- @$(srcdir:/=\)\win32\rm.bat config.h config.status
+ @$(COMSPEC) /C $(srcdir:/=\)\win32\rm.bat config.h config.status
@echo type `$(MAKE)' to make ruby for $(OS).