Re: [libav-devel] [PATCH 1/2] build: checkasm: Drop duplicate yasm recipe

2016-10-14 Thread Janne Grunau

On Friday, 14 October 2016 01:42:02 CEST, Diego Biurrun wrote:

Also move yasm recipe next to the other local pattern rules for .o files.


The patch moves the duplicate yasm rules into the top Makefile. Both 
patches ok after fixing this description.


Janne
___
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel


Re: [libav-devel] [PATCH 1/2] build: checkasm: Drop duplicate yasm recipe

2016-10-14 Thread Luca Barbato
The set looks nice, ok if it works.
___
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel


[libav-devel] [PATCH 1/2] build: checkasm: Drop duplicate yasm recipe

2016-10-13 Thread Diego Biurrun
Also move yasm recipe next to the other local pattern rules for .o files.
---
 Makefile| 5 +
 library.mak | 5 -
 tests/checkasm/x86/Makefile | 5 -
 3 files changed, 5 insertions(+), 10 deletions(-)

diff --git a/Makefile b/Makefile
index aff7e23..34f0c9c 100644
--- a/Makefile
+++ b/Makefile
@@ -56,6 +56,11 @@ COMPILE_HOSTC = $(call COMPILE,HOSTCC)
 %_host.o: %.c
$(COMPILE_HOSTC)
 
+%.o: %.asm
+   $(DEPYASM) $(YASMFLAGS) -I $( $(@:.o=.d)
+   $(YASM) $(YASMFLAGS) -I $( $(@:.o=.d)
-   $(YASM) $(YASMFLAGS) -I $( $(@:.o=.d)
-   $(YASM) $(YASMFLAGS) -I $(