From 0cc0c5b6dbf187f9c096de03d999da040197ffe6 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 13 Oct 2016 00:45:09 +0000 Subject: build: Allow generating dependencies as a side-effect of assembling (Cherry-picked from libav commit 3c0efbd03349ae68d3a25a082222652a102e3fd4) Signed-off-by: James Almer --- ffbuild/common.mak | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ffbuild') diff --git a/ffbuild/common.mak b/ffbuild/common.mak index b029e2a..e168fb2 100644 --- a/ffbuild/common.mak +++ b/ffbuild/common.mak @@ -37,7 +37,7 @@ OBJCFLAGS += $(EOBJCFLAGS) OBJCCFLAGS = $(CPPFLAGS) $(CFLAGS) $(OBJCFLAGS) ASFLAGS := $(CPPFLAGS) $(ASFLAGS) CXXFLAGS := $(CPPFLAGS) $(CFLAGS) $(CXXFLAGS) -X86ASMFLAGS += $(IFLAGS:%=%/) -Pconfig.asm +X86ASMFLAGS += $(IFLAGS:%=%/) -I$( $(@:.asm=.d) - $(X86ASM) $(X86ASMFLAGS) -I $( $@ + $(DEPX86ASM) $(X86ASMFLAGS) -M -o $@ $< > $(@:.asm=.d) + $(X86ASM) $(X86ASMFLAGS) -e $< | sed '/^%/d;/^$$/d;' > $@ %.o: %.asm - $(DEPX86ASM) $(X86ASMFLAGS) -I $( $(@:.o=.d) - $(X86ASM) $(X86ASMFLAGS) -I $(