URL
https://opencores.org/ocsvn/eco32/eco32/trunk
Subversion Repositories eco32
[/] [eco32/] [tags/] [eco32-0.22/] [hwtests/] [shtest/] [Makefile] - Rev 224
Go to most recent revision | Compare with Previous | Blame | View Log
#
# Makefile for shtest ROM
#
BUILD = ../../build
.PHONY: all install run clean
all: shtest.exo
install: shtest.exo
shtest.exo: shtest.bin
$(BUILD)/bin/bin2exo 0 shtest.bin shtest.exo
shtest.bin: shtest.o
$(BUILD)/bin/ld -h -rc 0xE0000000 -o shtest.bin shtest.o
shtest.o: shtest.s
$(BUILD)/bin/as -o shtest.o shtest.s
shtest.s: mkshtest
./mkshtest > shtest.s
mkshtest: mkshtest.c
gcc -m32 -g -Wall -o mkshtest mkshtest.c
run: shtest.bin
$(BUILD)/bin/sim -i -t 1 -r shtest.bin
clean:
rm -f *~ mkshtest shtest.s shtest.o
rm -f shtest.bin shtest.exo
Go to most recent revision | Compare with Previous | Blame | View Log