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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [hwtests/] [looptest/] [Makefile] - Blame information for rev 44

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

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

powered by: WebSVN 2.1.0

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