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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [hwtests/] [memtest1/] [Makefile] - Diff between revs 14 and 39

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 14 Rev 39
#
#
# Makefile for memtest1 ROM
# Makefile for memtest1 ROM
#
#
BUILD = ../../build
BUILD = ../../build
.PHONY:         all install run clean
.PHONY:         all install run clean
all:            memtest1.exo
all:            memtest1.exo
install:        memtest1.exo
install:        memtest1.exo
memtest1.exo:   memtest1.bin
memtest1.exo:   memtest1.bin
                $(BUILD)/bin/bin2exo 0 memtest1.bin memtest1.exo
                $(BUILD)/bin/bin2exo -S2 0 memtest1.bin memtest1.exo
 
 
memtest1.bin:   memtest1.o
memtest1.bin:   memtest1.o
                $(BUILD)/bin/ld -h -rc 0xE0000000 \
                $(BUILD)/bin/ld -h -rc 0xE0000000 \
                  -o memtest1.bin memtest1.o
                  -o memtest1.bin memtest1.o
memtest1.o:     memtest1.s
memtest1.o:     memtest1.s
                $(BUILD)/bin/as -o memtest1.o memtest1.s
                $(BUILD)/bin/as -o memtest1.o memtest1.s
run:            memtest1.bin
run:            memtest1.bin
                $(BUILD)/bin/sim -i -t 1 -r memtest1.bin
                $(BUILD)/bin/sim -i -t 1 -r memtest1.bin
clean:
clean:
                rm -f *~ memtest1.o memtest1.bin memtest1.exo
                rm -f *~ memtest1.o memtest1.bin memtest1.exo
 
 

powered by: WebSVN 2.1.0

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