summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
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)