URL
https://opencores.org/ocsvn/eco32/eco32/trunk
Subversion Repositories eco32
[/] [eco32/] [trunk/] [hwtests/] [serial/] [sertest/] [Makefile] - Rev 70
Go to most recent revision | Compare with Previous | Blame | View Log
#
# Makefile for serial line test program (FPGA <--> PC)
#
BUILD = ../../../build
.PHONY: all install clean
all: echo0.exo echo1.exo sertest
install: echo0.exo echo1.exo sertest
echo0.o: echo0.s
$(BUILD)/bin/as -o echo0.o echo0.s
echo1.o: echo1.s
$(BUILD)/bin/as -o echo1.o echo1.s
echo0.bin: echo0.o
$(BUILD)/bin/ld -h -rc 0xE0000000 -o echo0.bin echo0.o
echo1.bin: echo1.o
$(BUILD)/bin/ld -h -rc 0xE0000000 -o echo1.bin echo1.o
echo0.exo: echo0.bin
$(BUILD)/bin/bin2exo -S2 0 echo0.bin echo0.exo
echo1.exo: echo1.bin
$(BUILD)/bin/bin2exo -S2 0 echo1.bin echo1.exo
sertest: sertest.c
gcc -m32 -g -Wall -o sertest sertest.c
clean:
rm -f *~
rm -f echo0.o echo0.bin echo0.exo
rm -f echo1.o echo1.bin echo1.exo
rm -f sertest
Go to most recent revision | Compare with Previous | Blame | View Log