1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/bcc32/setup.mak
H_Konishi df3368c1dd * bcc32/setup.mak : Control of a message.
* bcc32/makefile.sub : include resource.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-12 14:27:02 +00:00

50 lines
878 B
Makefile

# -*- makefile -*-
!if "$(bcc32dir)" == "bcc32/"
srcdir = ./
!elseif "$(bcc32dir)" == "../bcc32/"
srcdir = ../
!else
srcdir = $(bcc32dir)../
!endif
OS = bccwin32
all: ext makefile
makefile: make_s make_e
make_s:
@if exist makefile @del makefile
@echo ### makefile for ruby $(OS) ###> makefile
@echo srcdir = $(srcdir:\=/)>> makefile
@echo RUBY_INSTALL_NAME = ruby>> makefile
@echo RUBY_SO_NAME = $(OS)_$$(RUBY_INSTALL_NAME)17>> makefile
make_e:
@echo !INCLUDE $$(srcdir)bcc32/makefile.sub>> makefile
@echo type `make' to make ruby for bccwin32.
ext:
@if not exist $@\* mkdir $@
pl3:
@echo PROCESSOR_LEVEL = 3 >> makefile
pl4:
@echo PROCESSOR_LEVEL = 4 >> makefile
pl5:
@echo PROCESSOR_LEVEL = 5 >> makefile
pl6:
@echo PROCESSOR_LEVEL = 6 >> makefile
3: ext make_s pl3 make_e
4: ext make_s pl4 make_e
5: ext make_s pl5 make_e
6: ext make_s pl6 make_e