< prev index next >

make/linux/makefiles/rules.make

Print this page

        

@@ -161,10 +161,15 @@
 %.o: %.s
         @echo Assembling $<
         $(QUIETLY) $(REMOVE_TARGET)
         $(QUIETLY) $(AS.S) $(DEPFLAGS) -o $@ $< $(COMPILE_DONE)
 
+%.o: %.S
+        @echo Assembling $<
+        $(QUIETLY) $(REMOVE_TARGET)
+        $(COMPILE.CC) -o $@ $< $(COMPILE_DONE)
+
 %.s: %.cpp
         @echo Generating assembly for $<
         $(QUIETLY) $(GENASM.CXX) -o $@ $<
         $(QUIETLY) $(DEMANGLE) $(COMPILE_DONE)
 
< prev index next >