summaryrefslogtreecommitdiff
path: root/rules/build-dependencies.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-11-14 14:03:11 +0000
committerIan Lynagh <igloo@earth.li>2010-11-14 14:03:11 +0000
commitf9076f8091c9b88287418f76c01a32149df0fc71 (patch)
tree88b2a542e221600b0ee631bc70fdcf62ff522622 /rules/build-dependencies.mk
parentabbda35c71b80ae2d2f173f51acc11cbba0874a1 (diff)
downloadhaskell-f9076f8091c9b88287418f76c01a32149df0fc71.tar.gz
Add a build system dependency; fixes #4357
Diffstat (limited to 'rules/build-dependencies.mk')
-rw-r--r--rules/build-dependencies.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/rules/build-dependencies.mk b/rules/build-dependencies.mk
index f223288ea7..a862d41a24 100644
--- a/rules/build-dependencies.mk
+++ b/rules/build-dependencies.mk
@@ -44,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