aboutsummaryrefslogtreecommitdiffstats
path: root/xen/Rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'xen/Rules.mk')
-rw-r--r--xen/Rules.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/xen/Rules.mk b/xen/Rules.mk
index 4d182b9006..26e5bb6ce1 100644
--- a/xen/Rules.mk
+++ b/xen/Rules.mk
@@ -177,6 +177,9 @@ $(filter %.init.o,$(obj-y) $(obj-bin-y) $(extra-y)): %.init.o: %.o Makefile
%.i: %.c Makefile
$(CPP) $(CFLAGS) $< -o $@
+%.s: %.c Makefile
+ $(CC) $(CFLAGS) -S $< -o $@
+
# -std=gnu{89,99} gets confused by # as an end-of-line comment marker
%.s: %.S Makefile
$(CPP) $(AFLAGS) $< -o $@