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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [hwtests/] [xcptest/] [Makefile] - Blame information for rev 14

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

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

powered by: WebSVN 2.1.0

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