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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [hwtests/] [xcptest/] [Makefile] - Diff between revs 14 and 39

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
 
 

powered by: WebSVN 2.1.0

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