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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [hwtests/] [remtest/] [Makefile] - Blame information for rev 168

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

Line No. Rev Author Line
1 14 hellwig
#
2
# Makefile for remtest ROM
3
#
4
 
5
BUILD = ../../build
6
 
7
.PHONY:         all install run clean
8
 
9
all:            remtest.exo
10
 
11
install:        remtest.exo
12
 
13
remtest.exo:    remtest.bin
14 39 hellwig
                $(BUILD)/bin/bin2exo -S2 0 remtest.bin remtest.exo
15 14 hellwig
 
16
remtest.bin:    remtest.o
17
                $(BUILD)/bin/ld -h -rc 0xE0000000 -o remtest.bin remtest.o
18
 
19
remtest.o:      remtest.s
20
                $(BUILD)/bin/as -o remtest.o remtest.s
21
 
22
remtest.s:      mkremtest
23
                ./mkremtest > remtest.s
24
 
25
mkremtest:      mkremtest.c
26
                gcc -m32 -g -Wall -o mkremtest mkremtest.c
27
 
28
run:            remtest.bin
29
                $(BUILD)/bin/sim -i -t 1 -r remtest.bin
30
 
31
clean:
32
                rm -f *~ mkremtest remtest.s remtest.o
33
                rm -f remtest.bin remtest.exo

powered by: WebSVN 2.1.0

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