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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [hwtests/] [kbdtest/] [Makefile] - Blame information for rev 55

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

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

powered by: WebSVN 2.1.0

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