summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-04-08 11:53:14 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-04-08 12:28:32 +0900
commit5ac4bf2cd87e1eb5779ca5ae7f96a1a22e8436d9 (patch)
tree5a8410828772ade8444967454e9cb9bc684ab43d /win32
parent8c8e64a295bab083e67075f6f7a20172405081ae (diff)
[win32] Moved `MSC_VER` to verconf.mk and reduce running CPP
Diffstat (limited to 'win32')
-rw-r--r--win32/setup.mak4
1 files changed, 1 insertions, 3 deletions
diff --git a/win32/setup.mak b/win32/setup.mak
index d67b684..85ce834 100644
--- a/win32/setup.mak
+++ b/win32/setup.mak
@@ -132,9 +132,6 @@ int main(void) {return (EnumProcesses(NULL,0,NULL) ? 0 : 1);}
<<
-version-: nul verconf.mk
- @$(CPP) -I$(srcdir) -I$(srcdir)/include <<"Creating $(MAKEFILE)" | findstr "=" >>$(MAKEFILE)
-MSC_VER = _MSC_VER
-<<
verconf.mk: nul
@$(CPP) -I$(srcdir) -I$(srcdir)/include <<"Creating $(@)" > $(*F).bat && cmd /c $(*F).bat > $(@)
@@ -152,6 +149,7 @@ echo TEENY = RUBY_VERSION_TEENY
#if defined RUBY_PATCHLEVEL && RUBY_PATCHLEVEL < 0
echo RUBY_DEVEL = yes
#endif
+echo MSC_VER = _MSC_VER
del %0 & exit
<<