]> git.sesse.net Git - x264/commitdiff
build: Add dependencies on x86inc.asm/x86util.asm for all .asm files
authorDiego Biurrun <diego@biurrun.de>
Wed, 7 May 2014 19:43:15 +0000 (21:43 +0200)
committerFiona Glaser <fiona@x264.com>
Sun, 20 Jul 2014 03:52:59 +0000 (20:52 -0700)
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.

Makefile

index 9375b8d002016588109cdcd267eff65686d04c92..4faed55df6f12776c65acf97047ed94ea7decbb6 100644 (file)
--- 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