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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [hwtests/] [serial/] [pc2fpga/] [Makefile] - Blame information for rev 39

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 (PC --> FPGA)
3
#
4
 
5
BUILD = ../../../build
6
 
7
.PHONY:         all install clean
8
 
9
all:            receive0.exo receive1.exo send
10
 
11
install:        receive0.exo receive1.exo send
12
 
13
receive0.o:     receive0.s
14
                $(BUILD)/bin/as -o receive0.o receive0.s
15
 
16
receive1.o:     receive1.s
17
                $(BUILD)/bin/as -o receive1.o receive1.s
18
 
19
receive0.bin:   receive0.o
20
                $(BUILD)/bin/ld -h -rc 0xE0000000 -o receive0.bin receive0.o
21
 
22
receive1.bin:   receive1.o
23
                $(BUILD)/bin/ld -h -rc 0xE0000000 -o receive1.bin receive1.o
24
 
25
receive0.exo:   receive0.bin
26 39 hellwig
                $(BUILD)/bin/bin2exo -S2 0 receive0.bin receive0.exo
27 14 hellwig
 
28
receive1.exo:   receive1.bin
29 39 hellwig
                $(BUILD)/bin/bin2exo -S2 0 receive1.bin receive1.exo
30 14 hellwig
 
31
send:           send.c
32
                gcc -m32 -g -Wall -o send send.c
33
 
34
clean:
35
                rm -f *~
36
                rm -f receive0.o receive0.bin receive0.exo
37
                rm -f receive1.o receive1.bin receive1.exo
38
                rm -f send

powered by: WebSVN 2.1.0

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