From: Diego Biurrun Date: Wed, 7 May 2014 19:43:15 +0000 (+0200) Subject: build: Add dependencies on x86inc.asm/x86util.asm for all .asm files X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=31311f254971e1da51d817cb580fc4fe1f4d5f20;p=libx264 build: Add dependencies on x86inc.asm/x86util.asm for all .asm files This is a little bit overzealous, but errs on the side of caution. Generating full dependency information is also possible, but slightly slows down the build as YASM cannot do it as a sideeffect of compilation. --- diff --git a/Makefile b/Makefile index 9375b8d0..4faed55d 100644 --- a/Makefile +++ b/Makefile @@ -174,7 +174,7 @@ checkasm$(EXE): $(GENERATED) .depend $(OBJCHK) $(LIBX264) $(OBJS) $(OBJASM) $(OBJSO) $(OBJCLI) $(OBJCHK): .depend -%.o: %.asm +%.o: %.asm common/x86/x86inc.asm common/x86/x86util.asm $(AS) $(ASFLAGS) -o $@ $< -@ $(if $(STRIP), $(STRIP) -x $@) # delete local/anonymous symbols, so they don't show up in oprofile