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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [hwtests/] [serial/] [sertest/] [Makefile] - Blame information for rev 302

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:            echo0.exo echo1.exo sertest
10
 
11
install:        echo0.exo echo1.exo sertest
12
 
13
echo0.o:        echo0.s
14
                $(BUILD)/bin/as -o echo0.o echo0.s
15
 
16
echo1.o:        echo1.s
17
                $(BUILD)/bin/as -o echo1.o echo1.s
18
 
19
echo0.bin:      echo0.o
20
                $(BUILD)/bin/ld -h -rc 0xE0000000 -o echo0.bin echo0.o
21
 
22
echo1.bin:      echo1.o
23
                $(BUILD)/bin/ld -h -rc 0xE0000000 -o echo1.bin echo1.o
24
 
25
echo0.exo:      echo0.bin
26 39 hellwig
                $(BUILD)/bin/bin2exo -S2 0 echo0.bin echo0.exo
27 14 hellwig
 
28
echo1.exo:      echo1.bin
29 39 hellwig
                $(BUILD)/bin/bin2exo -S2 0 echo1.bin echo1.exo
30 14 hellwig
 
31
sertest:        sertest.c
32 256 hellwig
                gcc -g -Wall -o sertest sertest.c
33 14 hellwig
 
34
clean:
35
                rm -f *~
36
                rm -f echo0.o echo0.bin echo0.exo
37
                rm -f echo1.o echo1.bin echo1.exo
38
                rm -f sertest

powered by: WebSVN 2.1.0

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