From 114ba75f7bb6dbd935b8b72537544d8e8ec49716 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Thu, 18 Feb 2016 13:06:04 -0800 Subject: [PATCH] test/Makefile: add a rule for nasm itself If NASM needs to be rebuilt, build it in the proper directory. Signed-off-by: H. Peter Anvin --- test/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/Makefile b/test/Makefile index 8b513590..a76044d4 100644 --- a/test/Makefile +++ b/test/Makefile @@ -5,6 +5,9 @@ NASMOPT = -Ox -I../misc $(OPT) PERL = perl TESTS = $(wildcard *.asm) +$(NASM): + $(MAKE) -C .. + %.bin: %.asm $(NASM) $(NASM) $(NASMOPT) -f bin -o $@ -l $*.lst $< -- 2.11.4.GIT