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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [stdalone/] [wrtmbr/] [mbr/] [Makefile] - Blame information for rev 59

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

Line No. Rev Author Line
1 18 hellwig
#
2
# Makefile for assembling the default master boot record
3
#
4
 
5
BUILD = ../../../build
6
 
7
.PHONY:         all clean
8
 
9
all:            mbr.dump
10
 
11
mbr.dump:       dump mbr.bin
12
                ./dump mbr.bin mbr.dump
13
 
14
dump:           dump.c
15
                gcc -m32 -g -Wall -o dump dump.c
16
 
17
mbr.bin:        mbr.o
18
                $(BUILD)/bin/ld -h -rc 0xC0000000 -o mbr.bin mbr.o
19
 
20
mbr.o:          mbr.s
21
                $(BUILD)/bin/as -o mbr.o mbr.s
22
 
23
clean:
24
                rm -f *~ dump mbr.o mbr.bin mbr.dump

powered by: WebSVN 2.1.0

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