summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.mk b/config.mk
index f5b9c28f1d..7fc045375a 100644
--- a/config.mk
+++ b/config.mk
@@ -214,5 +214,9 @@ $(obj)%.o: %.S
$(CC) $(AFLAGS) $(AFLAGS_$(@F)) $(AFLAGS_$(BCURDIR)) -o $@ $< -c
$(obj)%.o: %.c
$(CC) $(CFLAGS) $(CFLAGS_$(@F)) $(CFLAGS_$(BCURDIR)) -o $@ $< -c
+$(obj)%.i: %.c
+ $(CPP) $(CFLAGS) $(CFLAGS_$(@F)) $(CFLAGS_$(BCURDIR)) -o $@ $< -c
+$(obj)%.s: %.c
+ $(CC) $(CFLAGS) $(CFLAGS_$(@F)) $(CFLAGS_$(BCURDIR)) -o $@ $< -c -S
#########################################################################