summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-20 12:02:29 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-20 12:02:29 (GMT)
commit91e6ac3d96889ce548cfd7cf631b1e5a3a71532c (patch)
tree45c300ffe3ee26fc9f96ab9f1420a1157c238e9c /win32
parentf3ba295ae7fc95c7d36369e1529c3e8c083e9ade (diff)
Make coroutine object directory for each arch
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r--win32/Makefile.sub5
1 files changed, 3 insertions, 2 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index 0892d8f..fbc7903 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -290,12 +290,13 @@ MISSING = $(MISSING) explicit_bzero.obj
!endif
DLNOBJ = dln.obj
!if "$(ARCH)" == "x64"
-MISSING = $(MISSING) coroutine/Win64/Context.obj
COROUTINE_H = coroutine/Win64/Context.h
!elseif "$(ARCH)" == "i386"
-MISSING = $(MISSING) coroutine/Win32/Context.obj
COROUTINE_H = coroutine/Win32/Context.h
!endif
+!if defined(COROUTINE_H)
+MISSING = $(MISSING) $(COROUTINE_H:.h=.obj)
+!endif
ARFLAGS = -machine:$(MACHINE) -out:
LD = $(CC)