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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [hwtests/] [memtest1/] [Makefile] - Rev 245

Compare with Previous | Blame | View Log

#
# Makefile for memtest1 ROM
#

BUILD = ../../build

.PHONY:         all install run clean

all:            memtest1.exo

install:        memtest1.exo

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

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

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

run:            memtest1.bin
                $(BUILD)/bin/sim -i -s 1 -t 0 -r memtest1.bin

clean:
                rm -f *~ memtest1.o memtest1.bin memtest1.exo

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.