+$(odir_)%.$(way_)o : %.c
+ @$(RM) $@
+ $(HC) $(GHC_CC_OPTS) -c $< -o $@
+
+$(odir_)%.$(way_)o : %.S
+ @$(RM) $@
+ $(HC) $(GHC_CC_OPTS) -c $< -o $@
+
+$(odir_)%.$(way_)s : %.c
+ @$(RM) $@
+ $(HC) $(GHC_CC_OPTS) -S $< -o $@
+
+else
+
+$(odir_)%.$(way_)o : %.$(way_)s
+ @$(RM) $@
+ $(AS) $(AS_OPTS) -o $@ $<
+
+$(odir_)%.$(way_)o : %.c