[project @ 2002-02-04 12:09:44 by simonmar]
[ghc-hetmet.git] / ghc / rts / Makefile
index a07723a..5272236 100644 (file)
@@ -1,5 +1,5 @@
 #-----------------------------------------------------------------------------
-# $Id: Makefile,v 1.60 2002/01/31 11:18:06 sof Exp $
+# $Id: Makefile,v 1.61 2002/02/04 12:09:44 simonmar Exp $
 #
 #  This is the Makefile for the runtime-system stuff.
 #  This stuff is written in C (and cannot be written in Haskell).
@@ -45,7 +45,7 @@ EXCLUDED_SRCS += parallel/SysMan.c
 
 # The build system doesn't give us these
 HC_SRCS = $(filter %.hc, $(SRCS))
-HC_OBJS = $(patsubst %.hc,%.o, $(HC_SRCS))
+HC_OBJS = $(patsubst %.hc,%.$(way)_o, $(HC_SRCS))
 
 # Override the default $(LIBOBJS) (the default provides for building Haskell libs)
 LIBOBJS = $(C_OBJS) $(HC_OBJS)