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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [fpga/] [tests/] [test_101/] [Makefile] - Blame information for rev 297

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

Line No. Rev Author Line
1 295 hellwig
#
2
# Makefile to build the "dhrystone" test
3
#
4
 
5
BUILD = ../../../build
6
 
7
ROM_SIZE_KB = 64
8
 
9
BIN = test_101.bin
10
DAT = test_101.dat
11
 
12
all:            $(DAT)
13
 
14
install:        $(DAT)
15
 
16
$(DAT):         $(BIN)
17
                $(BUILD)/bin/bin2dat $(BIN) $(DAT) $(ROM_SIZE_KB)
18
 
19
$(BIN):         copy/copy.bin dhry/dhry.bin
20
                cat copy/copy.bin dhry/dhry.bin >$(BIN)
21
 
22
copy/copy.bin:  size.s
23
                $(MAKE) -C copy all
24
 
25
size.s:         dhry/dhry.bin
26
                /bin/echo -e ";" >size.s
27
                /bin/echo -e "; set number of bytes to be copied" >>size.s
28
                /bin/echo -e ";" >>size.s
29
                /bin/echo -e -n "\t.set\tsize," >>size.s
30
                stat -c %s dhry/dhry.bin >>size.s
31
                /bin/echo -e "\t.export\tsize" >>size.s
32
 
33
dhry/dhry.bin:
34
                $(MAKE) -C dhry all
35
 
36
clean:
37
                rm -f *~ size.s $(BIN) $(DAT)
38
                $(MAKE) -C copy clean
39
                $(MAKE) -C dhry clean

powered by: WebSVN 2.1.0

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