From 93d5b022a9fd3a1a1f9c521a1eac7f0410e05b81 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sat, 8 Oct 2016 16:48:29 +0200 Subject: build: Drop duplicate asm recipe And move the asm recipe to the top-level Makefile 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 4e026b0734..52cb0bd80d 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 $(