summaryrefslogtreecommitdiff
path: root/win32/setup.mak
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-03-20 11:21:19 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-03-20 11:21:19 +0000
commitc92a934c110b6759f3d6b4a547f2987fac293e0b (patch)
treef081ee70ed6379ad49252314ea5c57c28e7955f0 /win32/setup.mak
parent3adfc84e73c492b7f19e65e5578b21e673273afe (diff)
* win32/Makefile.sub: made variables configurable.
* win32/Makefile.sub (config.h): updates RUBY_PLATFORM from Makefile. * win32/Makefile.sub (config.status): ditto. * win32/Makefile.sub (clean): separate ext and local clean up. * win32/Makefile.sub (distclean): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/setup.mak')
-rw-r--r--win32/setup.mak11
1 files changed, 7 insertions, 4 deletions
diff --git a/win32/setup.mak b/win32/setup.mak
index 28f89e8..0c0acfa 100644
--- a/win32/setup.mak
+++ b/win32/setup.mak
@@ -9,7 +9,6 @@ srcdir = $(WIN32DIR)/..
!ENDIF
OS = mswin32
-all: config.h config.status
all: ext
all: Makefile
all:; @echo type `nmake' to make ruby for mswin32.
@@ -19,9 +18,13 @@ Makefile:
@echo srcdir = $(srcdir:\=/)>> $@
@echo RUBY_INSTALL_NAME = ruby>> $@
@echo RUBY_SO_NAME = $(OS)-$$(RUBY_INSTALL_NAME)17>> $@
+ @echo prefix = /usr>> $@
+ @echo CFLAGS = -nologo -MD $$(DEBUGFLAGS) $$(OPTFLAGS) $$(PROCESSOR_FLAG)>> $@
+ @echo CPPFLAGS = -I. -I$$(srcdir) -I$$(srcdir)/missing -DLIBRUBY_SO=\"$$(LIBRUBY_SO)\" -DNT=1>> $@
+ @echo LDFLAGS = $$(CFLAGS) -Fm>> $@
+ @echo XLDFLAGS = >> $@
+ @echo RFLAGS = -r>> $@
+ @echo EXTLIBS =>> $@
@echo !INCLUDE $$(srcdir)/win32/Makefile.sub>> $@
-config.h config.status: $(srcdir)/win32/$$@.in
- @type $(srcdir:/=\)\win32\$@.in > $@
-
ext:; @if not exist $@\* mkdir $@