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