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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [hwtests/] [multest/] [Makefile] - Blame information for rev 299

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

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

powered by: WebSVN 2.1.0

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