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>> $@
|
2000-12-26 03:08:50 -05:00
|
|
|
@echo RUBY_SO_NAME = $(OS)-$$(RUBY_INSTALL_NAME)17>> $@
|
2000-08-07 01:05:04 -04:00
|
|
|
@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 $@
|