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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [hwtests/] [divtest/] [Makefile] - Blame information for rev 52

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

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

powered by: WebSVN 2.1.0

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