Add a build system dependency; fixes #4357
authorIan Lynagh <igloo@earth.li>
Sun, 14 Nov 2010 14:03:11 +0000 (14:03 +0000)
committerIan Lynagh <igloo@earth.li>
Sun, 14 Nov 2010 14:03:11 +0000 (14:03 +0000)
rules/build-dependencies.mk

index f223288..a862d41 100644 (file)
@@ -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