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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [hwtests/] [shtest/] [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 shtest ROM
3
#
4
 
5
BUILD = ../../build
6
 
7
.PHONY:         all install run clean
8
 
9
all:            shtest.exo
10
 
11
install:        shtest.exo
12
 
13
shtest.exo:     shtest.bin
14 39 hellwig
                $(BUILD)/bin/bin2exo -S2 0 shtest.bin shtest.exo
15 14 hellwig
 
16
shtest.bin:     shtest.o
17
                $(BUILD)/bin/ld -h -rc 0xE0000000 -o shtest.bin shtest.o
18
 
19
shtest.o:       shtest.s
20
                $(BUILD)/bin/as -o shtest.o shtest.s
21
 
22
shtest.s:       mkshtest
23
                ./mkshtest > shtest.s
24
 
25
mkshtest:       mkshtest.c
26
                gcc -m32 -g -Wall -o mkshtest mkshtest.c
27
 
28
run:            shtest.bin
29
                $(BUILD)/bin/sim -i -t 1 -r shtest.bin
30
 
31
clean:
32
                rm -f *~ mkshtest shtest.s shtest.o
33
                rm -f shtest.bin shtest.exo

powered by: WebSVN 2.1.0

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