From: Ian Lynagh Date: Sun, 14 Nov 2010 14:03:11 +0000 (+0000) Subject: Add a build system dependency; fixes #4357 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;ds=inline;h=f9076f8091c9b88287418f76c01a32149df0fc71;p=ghc-hetmet.git Add a build system dependency; fixes #4357 --- diff --git a/rules/build-dependencies.mk b/rules/build-dependencies.mk index f223288..a862d41 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