mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-02-17 17:19:35 +08:00
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
@ -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 New Issue
Block a user