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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [disk/] [tools/] [mkmboot/] [stage2/] [Makefile] - Rev 17

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

#
# Makefile to build the master bootstrap (boot manager)
#

BUILD = ../../../../build

all:            mboot.bin

mboot.bin:      c0.o mboot.o biolib.o c1.o
                $(BUILD)/bin/ld -h -rc 0xC0001000 -o mboot.bin \
                  c0.o mboot.o biolib.o c1.o

c0.o:           c0.s
                $(BUILD)/bin/as -o c0.o c0.s

mboot.o:        mboot.c
                $(BUILD)/bin/lcc -A -c -o mboot.o mboot.c

biolib.o:       biolib.s
                $(BUILD)/bin/as -o biolib.o biolib.s

c1.o:           c1.s
                $(BUILD)/bin/as -o c1.o c1.s

clean:
                rm -f *~ c0.o mboot.o biolib.o c1.o mboot.bin

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

powered by: WebSVN 2.1.0

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