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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [monitor/] [monitor/] [boards/] [simulator/] [Makefile] - Blame information for rev 242

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 189 hellwig
#
2
# Makefile for ECO32 ROM monitor
3
#
4
 
5
BUILD = ../../../../build
6
 
7
SRC = start.s \
8
      ../../common/main.c \
9
      ../../common/command.c \
10
      ../../common/instr.c \
11
      ../../common/asm.c \
12
      ../../common/disasm.c \
13
      ../../common/load.c \
14
      ../../common/boot.c \
15
      ../../common/cpu.c \
16
      ../../common/mmu.c \
17
      ../../common/getline.c \
18
      ../../common/romlib.c \
19
      ../../common/keyboard.s \
20
      ../../kbdtbls/kbdtbls.s \
21
      ../../common/display.s \
22
      ../../common/serial.s \
23
      ../../common/dskctl.s \
24
      ../../common/dskser.s \
25
      ../../common/end.s
26
 
27
.PHONY:         all install clean
28
 
29
all:            monitor.bin
30
 
31
install:        monitor.bin
32
                mkdir -p $(BUILD)/monitor/simulator
33
                cp monitor.bin $(BUILD)/monitor/simulator
34
 
35
monitor.bin:    $(SRC)
36
                $(BUILD)/bin/lcc -A -Wo-rom -Wl-rc -Wl0xC0000000 \
37
                  -Wl-rd -Wl0xC000C000 \
38
                  -Wl-m -Wlmonitor.map \
39
                  -o prelim.bin $(SRC)
40
                cat ../../copy/copy.bin prelim.bin >monitor.bin
41
                rm prelim.bin
42
 
43
clean:
44
                rm -f *~
45
                rm -f prelim.bin monitor.map monitor.bin

powered by: WebSVN 2.1.0

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