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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [hwtests/] [serial/] [pc2fpga/] [Makefile] - Rev 63

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

#
# Makefile for serial line test program (PC --> FPGA)
#

BUILD = ../../../build

.PHONY:         all install clean

all:            receive0.exo receive1.exo send

install:        receive0.exo receive1.exo send

receive0.o:     receive0.s
                $(BUILD)/bin/as -o receive0.o receive0.s

receive1.o:     receive1.s
                $(BUILD)/bin/as -o receive1.o receive1.s

receive0.bin:   receive0.o
                $(BUILD)/bin/ld -h -rc 0xE0000000 -o receive0.bin receive0.o

receive1.bin:   receive1.o
                $(BUILD)/bin/ld -h -rc 0xE0000000 -o receive1.bin receive1.o

receive0.exo:   receive0.bin
                $(BUILD)/bin/bin2exo -S2 0 receive0.bin receive0.exo

receive1.exo:   receive1.bin
                $(BUILD)/bin/bin2exo -S2 0 receive1.bin receive1.exo

send:           send.c
                gcc -m32 -g -Wall -o send send.c

clean:
                rm -f *~
                rm -f receive0.o receive0.bin receive0.exo
                rm -f receive1.o receive1.bin receive1.exo
                rm -f send

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

powered by: WebSVN 2.1.0

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