summaryrefslogtreecommitdiff
path: root/bcc32
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 /bcc32
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 'bcc32')
-rw-r--r--bcc32/setup.mak9
1 files changed, 5 insertions, 4 deletions
diff --git a/bcc32/setup.mak b/bcc32/setup.mak
index c53510a..c81eaf2 100644
--- a/bcc32/setup.mak
+++ b/bcc32/setup.mak
@@ -30,17 +30,18 @@ alpha-$(OS): -prologue- -alpha- -epilogue-
-prologue-: nul
@echo Creating $(MAKEFILE)
+ @type > $(MAKEFILE) &&|
+\#\#\# Makefile for ruby $(OS) \#\#\#
+srcdir = $(srcdir:\=/)
+|
@cpp32 -I$(srcdir) -P- -o$(MAKEFILE) > nul &&|
-\#define COMMENT \#
-COMMENT Makefile for ruby $(OS)
\#include "version.h"
MAJOR = RUBY_VERSION_MAJOR
MINOR = RUBY_VERSION_MINOR
TEENY = RUBY_VERSION_TEENY
|
- @copy $(MAKEFILE).i $(MAKEFILE) > nul
+ @type $(MAKEFILE).i >> $(MAKEFILE)
@del $(MAKEFILE).i
- @$(APPEND) srcdir = $(srcdir:\=/)
-generic-: nul
!if defined(PROCESSOR_ARCHITECTURE) || defined(PROCESSOR_LEVEL)