mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-12-03 08:41:02 +08:00
f04031bbd7
Make all the tests depend on the nasm binary...
24 lines
429 B
Makefile
24 lines
429 B
Makefile
.SUFFIXES: .bin .o .o64 .obj .obj64 .exe .asm .lst
|
|
|
|
NASM = ../nasm
|
|
|
|
%.bin: %.asm $(NASM)
|
|
$(NASM) -f bin -o $@ -l $*.lst $<
|
|
|
|
%.o: %.asm $(NASM)
|
|
$(NASM) -f elf32 -o $@ -l $*.lst $<
|
|
|
|
%.o64: %.asm $(NASM)
|
|
$(NASM) -f elf64 -o $@ -l $*.lst $<
|
|
|
|
%.obj: %.asm $(NASM)
|
|
$(NASM) -f win32 -o $@ -l $*.lst $<
|
|
|
|
%.obj64: %.asm $(NASM)
|
|
$(NASM) -f win64 -o $@ -l $*.lst $<
|
|
|
|
all:
|
|
|
|
clean:
|
|
rm -f *.com *.o *.o64 *.obj *.obj64 *.exe *.lst *.bin
|