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

Subversion Repositories eco32

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

Only display areas with differences | Details | Blame | View Log

Rev 39 Rev 245
#
#
# 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 -S2 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 -s 1 -t 0 -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.