summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-12-27 12:42:06 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-12-27 12:42:06 +0000
commit212d3ebfff502238f032e5ff9160c1ef1b4b4412 (patch)
treecf5e36f0c7c67741ae375896afc7e519b7e3d38e /win32
parente0006c665daa215810ab7f50bf1881b9f02b011f (diff)
* bcc32/setup.mak, win32/setup.mak(-prologue-): move srcdir from
CPP input or UNC path will be removed as a comment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r--win32/setup.mak9
1 files changed, 5 insertions, 4 deletions
diff --git a/win32/setup.mak b/win32/setup.mak
index 5ae5fcc..5f24368 100644
--- a/win32/setup.mak
+++ b/win32/setup.mak
@@ -29,14 +29,15 @@ i686-$(OS): -prologue- -i686- -epilogue-
alpha-$(OS): -prologue- -alpha- -epilogue-
-prologue-: nul
- @cl -nologo -EP -I$(srcdir) <<"Creating $(MAKEFILE)" > $(MAKEFILE)
-#define COMMENT #
-COMMENT Makefile for ruby $(OS)
+ @type << > $(MAKEFILE)
+### Makefile for ruby $(OS) ###
+srcdir = $(srcdir:\=/)
+<<
+ @cl -nologo -EP -I$(srcdir) <<"Creating $(MAKEFILE)" >> $(MAKEFILE)
#include "version.h"
MAJOR = RUBY_VERSION_MAJOR
MINOR = RUBY_VERSION_MINOR
TEENY = RUBY_VERSION_TEENY
-srcdir = $(srcdir:\=/)
<<
-generic-: nul