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: 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>> $@
|
2002-03-20 06:21:19 -05:00
|
|
|
@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 =>> $@
|
2000-08-07 01:05:04 -04:00
|
|
|
@echo !INCLUDE $$(srcdir)/win32/Makefile.sub>> $@
|
2000-08-03 05:55:54 -04:00
|
|
|
|
|
|
|
ext:; @if not exist $@\* mkdir $@
|