[x264-devel] build: Add dependencies on x86inc.asm/x86util.asm for all .asm files
Diego Biurrun
git at videolan.org
Sun Jul 20 11:58:29 CEST 2014
x264 | branch: master | Diego Biurrun <diego at biurrun.de> | Wed May 7 21:43:15 2014 +0200| [31311f254971e1da51d817cb580fc4fe1f4d5f20] | committer: Fiona Glaser
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.
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=31311f254971e1da51d817cb580fc4fe1f4d5f20
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 9375b8d..4faed55 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
More information about the x264-devel
mailing list