diff options
author | Mans Rullgard <mans@mansr.com> | 2011-03-04 19:41:33 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-10-22 20:49:24 +0200 |
commit | 22aebf1bfefa2347a376acea5e27dab3f1d0e08f (patch) | |
tree | f2ad649dc829ec65342c56aec162211b13ea473b /common.mak | |
parent | e40cde01dcd7b173c97fd4104f896893726343f1 (diff) | |
download | ffmpeg-22aebf1bfefa2347a376acea5e27dab3f1d0e08f.tar.gz |
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>
Diffstat (limited to 'common.mak')
-rw-r--r-- | common.mak | 3 |
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) |