URL
https://opencores.org/ocsvn/eco32/eco32/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 14 |
Rev 39 |
#
|
#
|
# Makefile for xcptest ROM
|
# Makefile for xcptest ROM
|
#
|
#
|
|
|
BUILD = ../../build
|
BUILD = ../../build
|
|
|
XCPTEST_SRC = start.s main.c lib.c serial.s end.s
|
XCPTEST_SRC = start.s main.c lib.c serial.s end.s
|
|
|
.PHONY: all install run clean
|
.PHONY: all install run clean
|
|
|
all: xcptest.exo
|
all: xcptest.exo
|
|
|
install: xcptest.exo
|
install: xcptest.exo
|
|
|
xcptest.exo: xcptest.bin
|
xcptest.exo: xcptest.bin
|
$(BUILD)/bin/bin2exo 0 xcptest.bin xcptest.exo
|
$(BUILD)/bin/bin2exo -S2 0 xcptest.bin xcptest.exo
|
|
|
xcptest.bin: $(XCPTEST_SRC)
|
xcptest.bin: $(XCPTEST_SRC)
|
$(BUILD)/bin/lcc -A -Wo-rom -Wl-rd -Wl0xC03F0000 \
|
$(BUILD)/bin/lcc -A -Wo-rom -Wl-rd -Wl0xC03F0000 \
|
-Wl-m -Wlxcptest.map -o xcptest.bin $(XCPTEST_SRC)
|
-Wl-m -Wlxcptest.map -o xcptest.bin $(XCPTEST_SRC)
|
|
|
run: xcptest.bin
|
run: xcptest.bin
|
$(BUILD)/bin/sim -i -t 1 -r xcptest.bin
|
$(BUILD)/bin/sim -i -t 1 -r xcptest.bin
|
|
|
clean:
|
clean:
|
rm -f *~
|
rm -f *~
|
rm -f xcptest.map xcptest.bin xcptest.exo
|
rm -f xcptest.map xcptest.bin xcptest.exo
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.