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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [hwtests/] [serial/] [fpga2pc/] [Makefile] - Blame information for rev 129

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

Line No. Rev Author Line
1 14 hellwig
#
2
# Makefile for serial line test program (FPGA --> PC)
3
#
4
 
5
BUILD = ../../../build
6
 
7
.PHONY:         all install clean
8
 
9
all:            send0.exo send1.exo receive
10
 
11
install:        send0.exo send1.exo receive
12
 
13
send0.o:        send0.s
14
                $(BUILD)/bin/as -o send0.o send0.s
15
 
16
send1.o:        send1.s
17
                $(BUILD)/bin/as -o send1.o send1.s
18
 
19
send0.bin:      send0.o
20
                $(BUILD)/bin/ld -h -rc 0xE0000000 -o send0.bin send0.o
21
 
22
send1.bin:      send1.o
23
                $(BUILD)/bin/ld -h -rc 0xE0000000 -o send1.bin send1.o
24
 
25
send0.exo:      send0.bin
26 39 hellwig
                $(BUILD)/bin/bin2exo -S2 0 send0.bin send0.exo
27 14 hellwig
 
28
send1.exo:      send1.bin
29 39 hellwig
                $(BUILD)/bin/bin2exo -S2 0 send1.bin send1.exo
30 14 hellwig
 
31
receive:        receive.c
32
                gcc -m32 -g -Wall -o receive receive.c
33
 
34
clean:
35
                rm -f *~
36
                rm -f send0.o send0.bin send0.exo
37
                rm -f send1.o send1.bin send1.exo
38
                rm -f receive

powered by: WebSVN 2.1.0

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