URL
https://opencores.org/ocsvn/eco32/eco32/trunk
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
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.