# ghc project specific make variables
#
-# Override default haskell compiler if required
-#HC = $(WithGhcHc)
-HaskellCompilerType = $(WithGhcHcType)
-
GCap=-optc-DGCap
#GC2s=-optc-DGC2s
#GC1s=-optc-DGC1s
GHC_OPT_HILEV_ASM = $(CC)
endif
+#
+# There's no need to compute dependencies when booting from .hc files
+#
+ifneq "$(GhcWithHscBuiltViaC)" "YES"
+MKDEPENDHS_SRCS = $(HS_SRCS)
+else
+MKDEPENDHS_SRCS =
+endif
+
+# temporary until the new RTS is merged in.
+MOSTLY_CLEAN_FILES += *.hc