1 2 3 4 5 6 7 8 9 10
RDT = $(patsubst %.asm,%.rdf,$(wildcard *.asm)) NASM = ../../nasm all: $(RDT) %.rdf: %.asm $(NASM) -f rdf -o $@ -l $*.lst $< clean: rm -f *.rdf *.rdx *.lst