Rename -XPArr to -XParallelArrays
[ghc-hetmet.git] / rules / build-dependencies.mk
index b1b5fe8..a862d41 100644 (file)
@@ -11,6 +11,7 @@
 # -----------------------------------------------------------------------------
 
 define build-dependencies
+$(call trace, build-dependencies($1,$2,$3))
 # $1 = dir
 # $2 = distdir
 # $3 = GHC stage to use (0 == bootstrapping compiler)
@@ -43,6 +44,9 @@ ifneq "$$($1_$2_SLASH_MODS)" ""
 endif
        mv $$@.tmp $$@
 
+# Some of the C files depend on the generated includes files.
+$$($1_$2_depfile_c_asm) : $$(includes_H_CONFIG) $$(includes_H_PLATFORM)
+
 $$($1_$2_depfile_c_asm) : $$($1_$2_C_FILES_DEPS) $$($1_$2_S_FILES) | $$$$(dir $$$$@)/.
        "$$(RM)" $$(RM_OPTS) $$@.tmp
        touch $$@.tmp