2000-08-03 05:55:54 -04:00
|
|
|
# -*- makefile -*-
|
|
|
|
|
|
|
|
!IF "$(WIN32DIR)" == "win32"
|
|
|
|
srcdir = .
|
|
|
|
!ELSEIF "$(WIN32DIR)" == "$(WIN32DIR:/win32=)/win32"
|
|
|
|
srcdir = $(WIN32DIR:/win32=)
|
|
|
|
!ELSE
|
|
|
|
srcdir = $(WIN32DIR)/..
|
|
|
|
!ENDIF
|
|
|
|
OS = mswin32
|
|
|
|
|
|
|
|
all: config.h config.status
|
|
|
|
all: ext
|
|
|
|
all: Makefile
|
|
|
|
all:; @echo type `nmake' to make ruby for mswin32.
|
|
|
|
|
|
|
|
Makefile:
|
2000-08-07 01:05:04 -04:00
|
|
|
@echo ### makefile for ruby $(OS) ###> $@
|
|
|
|
@echo srcdir = $(srcdir:\=/)>> $@
|
|
|
|
@echo RUBY_INSTALL_NAME = ruby>> $@
|
|
|
|
@echo RUBY_SO_NAME = $$(RUBY_INSTALL_NAME).$(OS)>> $@
|
|
|
|
@echo !INCLUDE $$(srcdir)/win32/Makefile.sub>> $@
|
2000-08-03 05:55:54 -04:00
|
|
|
|
|
|
|
config.h config.status: $(srcdir)/win32/$$@.in
|
|
|
|
@copy $(srcdir:/=\)\win32\$@.in $@ > nul
|
|
|
|
|
|
|
|
ext:; @if not exist $@\* mkdir $@
|