URL
https://opencores.org/ocsvn/eco32/eco32/trunk
Subversion Repositories eco32
[/] [eco32/] [tags/] [eco32-0.22/] [monitor/] [monitor-digilent/] [Makefile] - Rev 279
Go to most recent revision | Compare with Previous | Blame | View Log
#
# Makefile for ECO32 ROM monitor
#
BUILD = ../../build
SRC = start.s main.c command.c instr.c asm.c disasm.c \
load.c boot.c cpu.c mmu.c getline.c romlib.c \
keyboard.s ../kbdtbls/kbdtbls.s display.s \
serial.s sctio-ctl.s sctio-ser.s end.s
.PHONY: all install clean
all: monitor.bin monitor.exo
install: monitor.bin monitor.exo
mkdir -p $(BUILD)/monitor
cp monitor.bin $(BUILD)/monitor
cp monitor.exo $(BUILD)/monitor
monitor.exo: monitor.bin
$(BUILD)/bin/bin2exo 0 monitor.bin monitor.exo
monitor.bin: $(SRC)
$(BUILD)/bin/lcc -A -Wo-rom -Wl-rd -Wl0xC3FFC000 \
-Wl-m -Wlmonitor.map -o monitor.bin $(SRC)
clean:
rm -f *~
rm -f monitor.map monitor.bin
rm -f monitor.exo
Go to most recent revision | Compare with Previous | Blame | View Log