OpenCores
URL https://opencores.org/ocsvn/zipcpu/zipcpu/trunk

Subversion Repositories zipcpu

[/] [zipcpu/] [trunk/] [bench/] [asm/] [Makefile] - Rev 41

Go to most recent revision | Compare with Previous | Blame | View Log

all: zipdhry.z testdiv.z wdt.z
ZASM := ../../sw/zasm/zasm
ZDMP := ../../sw/zasm/zdump
LIBS := ../../sw/lib
INCS := -I../../sw/zasm

dump: zipdhry.txt testdiv.txt

zipdhry.z: zipdhry.S $(LIBS)/divs.S $(LIBS)/divu.S stack.S
        $(ZASM) $(INCS) $^ -o $@
zipdhry.txt: zipdhry.z
        $(ZDMP) zipdhry.z > zipdhry.txt

wdt.z: wdt.S
        $(ZASM) $(INCS) $^ -o $@

.PHONY: testdiv
testdiv: testdiv.z
testdiv.z: testdiv.S $(LIBS)/divs.S $(LIBS)/divu.S stack.S
        $(ZASM) $(INCS) $^ -o $@

testdiv.txt: testdiv.z
        $(ZDMP) testdiv.z > testdiv.txt

clean:
        rm -rf *.z

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2022 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.