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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [hwtests/] [dsptest/] [Makefile] - Rev 238

Go to most recent revision | Compare with Previous | Blame | View Log

#
# Makefile for dsptest ROM
#

BUILD = ../../build

DSPTEST_SRC = start.s main.c lib.c serial.s end.s

.PHONY:         all install run clean

all:            dsptest.exo

install:        dsptest.exo

dsptest.exo:    dsptest.bin
                $(BUILD)/bin/bin2exo -S2 0 dsptest.bin dsptest.exo

dsptest.bin:    $(DSPTEST_SRC)
                $(BUILD)/bin/lcc -A -Wo-rom -Wl-rd -Wl0xC03F0000 \
                  -Wl-m -Wldsptest.map -o dsptest.bin $(DSPTEST_SRC)

run:            dsptest.bin
                $(BUILD)/bin/sim -i -c -r dsptest.bin

clean:
                rm -f *~
                rm -f dsptest.map dsptest.bin dsptest.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.