URL
https://opencores.org/ocsvn/eco32/eco32/trunk
Subversion Repositories eco32
[/] [eco32/] [tags/] [eco32-0.25/] [hwtests/] [serial/] [pc2fpga/] [Makefile] - Rev 302
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