summaryrefslogtreecommitdiff
path: root/common.mak
diff options
context:
space:
mode:
Diffstat (limited to 'common.mak')
-rw-r--r--common.mak3
1 files changed, 3 insertions, 0 deletions
diff --git a/common.mak b/common.mak
index 8dd24396d2..14c79f0e47 100644
--- a/common.mak
+++ b/common.mak
@@ -47,6 +47,9 @@ COMPILE_S = $(call COMPILE,AS)
%.o: %.cpp
$(COMPILE_CXX)
+%.s: %.c
+ $(CC) $(CPPFLAGS) $(CFLAGS) -S -o $@ $<
+
%.o: %.S
$(COMPILE_S)