URL
https://opencores.org/ocsvn/eco32/eco32/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 39 |
Rev 211 |
#
|
#
|
# Makefile for brtest ROM
|
# Makefile for brtest ROM
|
#
|
#
|
|
|
BUILD = ../../build
|
BUILD = ../../build
|
|
|
.PHONY: all install run clean
|
.PHONY: all install run clean
|
|
|
all: brtest.exo
|
all: brtest.exo
|
|
|
install: brtest.exo
|
install: brtest.exo
|
|
|
brtest.exo: brtest.bin
|
brtest.exo: brtest.bin
|
$(BUILD)/bin/bin2exo -S2 0 brtest.bin brtest.exo
|
$(BUILD)/bin/bin2exo -S2 0 brtest.bin brtest.exo
|
|
|
brtest.bin: brtest.o
|
brtest.bin: brtest.o
|
$(BUILD)/bin/ld -h -rc 0xE0000000 -o brtest.bin brtest.o
|
$(BUILD)/bin/ld -h -rc 0xE0000000 -o brtest.bin brtest.o
|
|
|
brtest.o: brtest.s
|
brtest.o: brtest.s
|
$(BUILD)/bin/as -o brtest.o brtest.s
|
$(BUILD)/bin/as -o brtest.o brtest.s
|
|
|
brtest.s: mkbrtest
|
brtest.s: mkbrtest
|
./mkbrtest > brtest.s
|
./mkbrtest > brtest.s
|
|
|
mkbrtest: mkbrtest.c
|
mkbrtest: mkbrtest.c
|
gcc -m32 -g -Wall -o mkbrtest mkbrtest.c
|
gcc -m32 -g -Wall -o mkbrtest mkbrtest.c
|
|
|
run: brtest.bin
|
run: brtest.bin
|
$(BUILD)/bin/sim -i -t 1 -r brtest.bin
|
$(BUILD)/bin/sim -i -t 1 -r brtest.bin
|
|
|
clean:
|
clean:
|
rm -f *~ mkbrtest brtest.s brtest.o
|
rm -f *~ mkbrtest brtest.s brtest.o
|
rm -f brtest.bin brtest.exo
|
rm -f brtest.bin brtest.exo
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.