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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [hwtests/] [multest/] [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 multest ROM
# Makefile for multest ROM
#
#
BUILD = ../../build
BUILD = ../../build
.PHONY:         all install run clean
.PHONY:         all install run clean
all:            multest.exo
all:            multest.exo
install:        multest.exo
install:        multest.exo
multest.exo:    multest.bin
multest.exo:    multest.bin
                $(BUILD)/bin/bin2exo 0 multest.bin multest.exo
                $(BUILD)/bin/bin2exo -S2 0 multest.bin multest.exo
 
 
multest.bin:    multest.o
multest.bin:    multest.o
                $(BUILD)/bin/ld -h -rc 0xE0000000 -o multest.bin multest.o
                $(BUILD)/bin/ld -h -rc 0xE0000000 -o multest.bin multest.o
multest.o:      multest.s
multest.o:      multest.s
                $(BUILD)/bin/as -o multest.o multest.s
                $(BUILD)/bin/as -o multest.o multest.s
multest.s:      mkmultest
multest.s:      mkmultest
                ./mkmultest > multest.s
                ./mkmultest > multest.s
mkmultest:      mkmultest.c
mkmultest:      mkmultest.c
                gcc -m32 -g -Wall -o mkmultest mkmultest.c
                gcc -m32 -g -Wall -o mkmultest mkmultest.c
run:            multest.bin
run:            multest.bin
                $(BUILD)/bin/sim -i -t 1 -r multest.bin
                $(BUILD)/bin/sim -i -t 1 -r multest.bin
clean:
clean:
                rm -f *~ mkmultest multest.s multest.o
                rm -f *~ mkmultest multest.s multest.o
                rm -f multest.bin multest.exo
                rm -f multest.bin multest.exo
 
 

powered by: WebSVN 2.1.0

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