summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorJan Moskyto Matejka <mq@ucw.cz>2017-04-26 10:53:48 +0200
committerJan Moskyto Matejka <mq@ucw.cz>2017-04-26 10:53:48 +0200
commita2fd34f81fe4259d5ef27f1684177753a03f0f90 (patch)
tree11c69e326d6d3aff5687bd4fb4f9710875622871 /Makefile.in
parent3484cb9a654cab9bd2c2b1164528d3000a22a79e (diff)
Debug: Add a Makefile rule for assembler intermediates.
The main Makefile rules directly compile to object files; this target is only for debug purposes.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index a5e80ff4..25af140c 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -99,6 +99,17 @@ $(objdir)/%.o: $(objdir)/%.c $(objdir)/.dir-stamp $(objdir)/sysdep/paths.h
$(E)echo CC -o $@ -c $<
$(Q)$(CC) $(CFLAGS) -MMD -MP -o $@ -c $<
+
+$(objdir)/%.S: $(srcdir)/%.c $(objdir)/.dir-stamp $(objdir)/sysdep/paths.h
+ $(E)echo CC -o $@ -S $<
+ $(Q)$(CC) $(CFLAGS) -MMD -MP -o $@ -S $<
+
+$(objdir)/%.S: $(objdir)/%.c $(objdir)/.dir-stamp $(objdir)/sysdep/paths.h
+ $(E)echo CC -o $@ -S $<
+ $(Q)$(CC) $(CFLAGS) -MMD -MP -o $@ -S $<
+
+
+
$(objdir)/.dir-stamp:
$(E)echo MKDIR -p $(addprefix $(objdir)/,$(dirs) doc)
$(Q)mkdir -p $(addprefix $(objdir)/,$(dirs) doc)