mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-02-11 17:10:45 +08:00
Make test/Makefile a bit more useful
Make all the tests depend on the nasm binary...
This commit is contained in:
parent
4408b6265c
commit
f04031bbd7
@ -2,22 +2,22 @@
|
||||
|
||||
NASM = ../nasm
|
||||
|
||||
.asm.bin:
|
||||
%.bin: %.asm $(NASM)
|
||||
$(NASM) -f bin -o $@ -l $*.lst $<
|
||||
|
||||
.asm.o:
|
||||
%.o: %.asm $(NASM)
|
||||
$(NASM) -f elf32 -o $@ -l $*.lst $<
|
||||
|
||||
.asm.o64:
|
||||
%.o64: %.asm $(NASM)
|
||||
$(NASM) -f elf64 -o $@ -l $*.lst $<
|
||||
|
||||
.asm.obj:
|
||||
%.obj: %.asm $(NASM)
|
||||
$(NASM) -f win32 -o $@ -l $*.lst $<
|
||||
|
||||
.asm.obj64:
|
||||
%.obj64: %.asm $(NASM)
|
||||
$(NASM) -f win64 -o $@ -l $*.lst $<
|
||||
|
||||
all:
|
||||
|
||||
clean:
|
||||
rm -f *.com *.o *.o64 *.obj *.obj64 *.exe *.lst
|
||||
rm -f *.com *.o *.o64 *.obj *.obj64 *.exe *.lst *.bin
|
||||
|
Loading…
Reference in New Issue
Block a user