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