Makefile
377 Bytes
PRDEPTH = ../..
include $(PRDEPTH)/PRdefs
RSP = ../rsp
TARGETS = dmatest
LDIRT = *.out *.dat *.lst *.dram *.dmem
default: $(TARGETS)
include $(COMMONRULES)
dmatest: dma.out dma.script dma.dmem.golden dma.dram.golden $(_FORCE)
$(RSP) dma.out < dma.script
cmp -s dma.dmem dma.dmem.golden
cmp -s dma.dram dma.dram.golden
dma.out: dma.s
$(RSPASM) -o dma.out dma.s