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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [fpga/] [tests/] [test_053/] [Makefile] - Blame information for rev 302

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

Line No. Rev Author Line
1 295 hellwig
#
2
# Makefile to build the test
3
#
4
 
5
BUILD = ../../../build
6
 
7
ROM_SIZE_KB = 64
8
 
9
BIN = test_053.bin
10
DAT = test_053.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 loop/loop.bin
20
                cat copy/copy.bin loop/loop.bin >$(BIN)
21
 
22
copy/copy.bin:  size.s
23
                $(MAKE) -C copy all
24
 
25
size.s:         loop/loop.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 loop/loop.bin >>size.s
31
                /bin/echo -e "\t.export\tsize" >>size.s
32
 
33
loop/loop.bin:
34
                $(MAKE) -C loop all
35
 
36
clean:
37
                rm -f *~ size.s $(BIN) $(DAT)
38
                $(MAKE) -C copy clean
39
                $(MAKE) -C loop clean

powered by: WebSVN 2.1.0

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