[CRIU] [PATCH 05/16] make: Add %.s target
Cyrill Gorcunov
gorcunov at openvz.org
Mon Feb 13 14:26:28 EST 2012
It's pretty convenient to have asm generated code
at hands if hunting weird problems.
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
Makefile | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index 113012c..0b58e4e 100644
--- a/Makefile
+++ b/Makefile
@@ -121,6 +121,10 @@ $(RHEAD-BLOB-GEN): $(RHEAD-BIN) $(RDEPS-BLOB)
$(E) " CC " $@
$(Q) $(CC) -E $(CFLAGS) $< -o $@
+%.s: %.c
+ $(E) " CC " $@
+ $(Q) $(CC) -S $(CFLAGS) -fverbose-asm $< -o $@
+
$(PROGRAM): $(OBJS)
$(E) " LINK " $@
$(Q) $(CC) $(CFLAGS) $(OBJS) $(LIBS) -o $@
--
1.7.7.6
More information about the CRIU
mailing list