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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [hwtests/] [dsptest/] [Makefile] - Blame information for rev 291

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

Line No. Rev Author Line
1 14 hellwig
#
2
# Makefile for dsptest ROM
3
#
4
 
5
BUILD = ../../build
6
 
7
DSPTEST_SRC = start.s main.c lib.c serial.s end.s
8
 
9
.PHONY:         all install run clean
10
 
11
all:            dsptest.exo
12
 
13
install:        dsptest.exo
14
 
15
dsptest.exo:    dsptest.bin
16 39 hellwig
                $(BUILD)/bin/bin2exo -S2 0 dsptest.bin dsptest.exo
17 14 hellwig
 
18
dsptest.bin:    $(DSPTEST_SRC)
19
                $(BUILD)/bin/lcc -A -Wo-rom -Wl-rd -Wl0xC03F0000 \
20
                  -Wl-m -Wldsptest.map -o dsptest.bin $(DSPTEST_SRC)
21
 
22
run:            dsptest.bin
23
                $(BUILD)/bin/sim -i -c -r dsptest.bin
24
 
25
clean:
26
                rm -f *~
27
                rm -f dsptest.map dsptest.bin dsptest.exo

powered by: WebSVN 2.1.0

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