Add rule for compiling to asm
This allows commands of the form "make foo.s", which is useful for inspecting the compiler output for debugging purposes. Signed-off-by: Mans Rullgard <mans@mansr.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
e40cde01dc
commit
22aebf1bfe
2 changed files with 4 additions and 1 deletions
|
|
@ -47,6 +47,9 @@ COMPILE_S = $(call COMPILE,AS)
|
|||
%.o: %.cpp
|
||||
$(COMPILE_CXX)
|
||||
|
||||
%.s: %.c
|
||||
$(CC) $(CPPFLAGS) $(CFLAGS) -S -o $@ $<
|
||||
|
||||
%.o: %.S
|
||||
$(COMPILE_S)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue