OpenCores
URL https://opencores.org/ocsvn/eco32/eco32/trunk

Subversion Repositories eco32

[/] [eco32/] [trunk/] [hwtests/] [shtest/] [Makefile] - Rev 118

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 -S2 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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.