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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [hwtests/] [divtest/] [Makefile] - Rev 27

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

#
# Makefile for divtest ROM
#

BUILD = ../../build

.PHONY:         all install run clean

all:            divtest.exo

install:        divtest.exo

divtest.exo:    divtest.bin
                $(BUILD)/bin/bin2exo 0 divtest.bin divtest.exo

divtest.bin:    divtest.o
                $(BUILD)/bin/ld -h -rc 0xE0000000 -o divtest.bin divtest.o

divtest.o:      divtest.s
                $(BUILD)/bin/as -o divtest.o divtest.s

divtest.s:      mkdivtest
                ./mkdivtest > divtest.s

mkdivtest:      mkdivtest.c
                gcc -m32 -g -Wall -o mkdivtest mkdivtest.c

run:            divtest.bin
                $(BUILD)/bin/sim -i -t 1 -r divtest.bin

clean:
                rm -f *~ mkdivtest divtest.s divtest.o
                rm -f divtest.bin divtest.exo

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

powered by: WebSVN 2.1.0

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