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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [monitor/] [monitor/] [boards/] [s3e-500/] [Makefile] - Blame information for rev 182

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 16 hellwig
#
2
# Makefile for ECO32 ROM monitor
3
#
4
 
5 64 hellwig
BUILD = ../../../../build
6 16 hellwig
 
7 64 hellwig
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 182 hellwig
      ../../common/dskctl.s \
24
      ../../common/dskser.s \
25 64 hellwig
      ../../common/end.s
26 16 hellwig
 
27
.PHONY:         all install clean
28
 
29 50 hellwig
all:            monitor.bin monitor.mcs
30 16 hellwig
 
31 50 hellwig
install:        monitor.bin monitor.mcs
32 64 hellwig
                mkdir -p $(BUILD)/monitor/s3e-500
33
                cp monitor.bin $(BUILD)/monitor/s3e-500
34
                cp monitor.mcs $(BUILD)/monitor/s3e-500
35 16 hellwig
 
36 50 hellwig
monitor.mcs:    monitor.bin
37
                $(BUILD)/bin/bin2mcs 0x00000000 monitor.bin monitor.mcs
38 16 hellwig
 
39 63 hellwig
monitor.bin:    $(SRC)
40 50 hellwig
                $(BUILD)/bin/lcc -A -Wo-rom -Wl-rc -Wl0xC0000000 \
41
                  -Wl-rd -Wl0xC000C000 \
42
                  -Wl-m -Wlmonitor.map \
43
                  -o prelim.bin $(SRC)
44 64 hellwig
                cat ../../copy/copy.bin prelim.bin >monitor.bin
45 50 hellwig
                rm prelim.bin
46 16 hellwig
 
47
clean:
48
                rm -f *~
49 64 hellwig
                rm -f prelim.bin monitor.map monitor.bin
50 50 hellwig
                rm -f monitor.mcs

powered by: WebSVN 2.1.0

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