From 91e6ac3d96889ce548cfd7cf631b1e5a3a71532c Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 20 Nov 2018 12:02:29 +0000 Subject: Make coroutine object directory for each arch git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/Makefile.sub | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'win32') diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 0892d8f753..fbc7903061 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) -- cgit v1.2.3