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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [hwtests/] [brtest/] [Makefile] - Blame information for rev 29

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

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

powered by: WebSVN 2.1.0

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