aboutsummaryrefslogtreecommitdiff
path: root/Rules
diff options
context:
space:
mode:
Diffstat (limited to 'Rules')
-rw-r--r--Rules5
1 files changed, 4 insertions, 1 deletions
diff --git a/Rules b/Rules
index a5a0c5bf8f..0ddf39e791 100644
--- a/Rules
+++ b/Rules
@@ -75,7 +75,10 @@ endef
$(common-objpfx)dummy.c:
rm -f $@
echo 'void __dummy__ (void) { }' > $@
-common-generated += dummy.o dummy.c
+$(common-objpfx)empty.c:
+ cp -f /dev/null $@
+common-generated += dummy.o dummy.c empty.c \
+ $(addprefix empty,$(object-suffixes))
# This makes all the auxiliary and test programs.