[project @ 2001-02-21 17:35:01 by rrt]
[ghc-hetmet.git] / mk / target.mk
index 4fea075..926560d 100644 (file)
@@ -297,6 +297,11 @@ $(HS_PROG) :: $(HS_OBJS)
        $(HC) -o $@ $(HC_OPTS) $(LD_OPTS) $(HS_OBJS) $(LIBS)
 endif
 
+# Object and interface files have suffixes tagged with their ways
+ifneq "$(way)" ""
+SRC_HC_OPTS += -hisuf $(way_)hi
+endif
+
 #----------------------------------------
 #      C programs