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 <hpa@linux.intel.com>
This commit is contained in:
parent
44a609b203
commit
114ba75f7b
1 changed files with 3 additions and 0 deletions
|
@ -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 $<
|
||||
|
||||
|
|
Loading…
Reference in a new issue