aboutsummaryrefslogtreecommitdiff
path: root/Rules
diff options
context:
space:
mode:
Diffstat (limited to 'Rules')
-rw-r--r--Rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/Rules b/Rules
index d50072b27e..0f9116b628 100644
--- a/Rules
+++ b/Rules
@@ -176,6 +176,11 @@ subdir_dist: dist
generated: $(addprefix $(common-objpfx),$(common-generated)) \
$(addprefix $(objpfx),$(generated))
+# Target required by the Hurd to ensure that all the MiG-generated
+# headers are in place before building a subdirectory.
+.PHONY: before-compile
+before-compile: $(before-compile)
+
define o-iterator-doit
$(common-objpfx)empty$o: $(common-objpfx)empty.c $(before-compile);
$$(compile-command.c)