mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
a5c0e5a382
* lib/mkmf.rb: ditto. * win32/Makefile.sub: Use del instead of rm. All these changes are derived from Nobuyoshi Nakada's patch. Thanks. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
27 lines
650 B
Makefile
27 lines
650 B
Makefile
# -*- 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:
|
|
@echo ### makefile for ruby $(OS) ###> $@
|
|
@echo srcdir = $(srcdir:\=/)>> $@
|
|
@echo RUBY_INSTALL_NAME = ruby>> $@
|
|
@echo RUBY_SO_NAME = $(OS)-$$(RUBY_INSTALL_NAME)17>> $@
|
|
@echo !INCLUDE $$(srcdir)/win32/Makefile.sub>> $@
|
|
|
|
config.h config.status: $(srcdir)/win32/$$@.in
|
|
@type $(srcdir:/=\)\win32\$@.in > $@
|
|
|
|
ext:; @if not exist $@\* mkdir $@
|