summaryrefslogtreecommitdiff
path: root/subdir.mak
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-03-04 19:41:33 +0000
committerMichael Niedermayer <michaelni@gmx.at>2011-10-22 20:49:24 +0200
commit22aebf1bfefa2347a376acea5e27dab3f1d0e08f (patch)
treef2ad649dc829ec65342c56aec162211b13ea473b /subdir.mak
parente40cde01dcd7b173c97fd4104f896893726343f1 (diff)
downloadffmpeg-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 'subdir.mak')
-rw-r--r--subdir.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/subdir.mak b/subdir.mak
index 9ac824fd0a..3589dfb7d6 100644
--- a/subdir.mak
+++ b/subdir.mak
@@ -20,7 +20,7 @@ $(SUBDIR)x86/%.o: $(SUBDIR)x86/%.asm
$(YASMDEP) $(YASMFLAGS) -I $(<D)/ -M -o $@ $< > $(@:.o=.d)
$(YASM) $(YASMFLAGS) -I $(<D)/ -o $@ $<
-$(OBJS) $(SUBDIR)%.ho $(TESTOBJS): CPPFLAGS += -DHAVE_AV_CONFIG_H
+$(OBJS) $(OBJS:.o=.s) $(SUBDIR)%.ho $(TESTOBJS): CPPFLAGS += -DHAVE_AV_CONFIG_H
$(TESTOBJS): CPPFLAGS += -DTEST
$(SUBDIR)$(LIBNAME): $(OBJS)