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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [hwtests/] [looptest/] [Makefile] - Rev 72

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

#
# Makefile for looptest ROM
#

BUILD = ../../build

.PHONY:         all install run clean

all:            looptest.exo

install:        looptest.exo

looptest.exo:   looptest.bin
                $(BUILD)/bin/bin2exo -S2 0 looptest.bin looptest.exo

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

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

looptest.s:     mklooptest
                ./mklooptest > looptest.s

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

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

clean:
                rm -f *~ mklooptest looptest.s looptest.o
                rm -f looptest.bin looptest.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.