URL
https://opencores.org/ocsvn/eco32/eco32/trunk
Subversion Repositories eco32
[/] [eco32/] [trunk/] [stdalone/] [wrtmbr/] [mbr/] [Makefile] - Rev 122
Go to most recent revision | Compare with Previous | Blame | View Log
#
# Makefile for assembling the default master boot record
#
BUILD = ../../../build
.PHONY: all clean
all: mbr.dump
mbr.dump: dump mbr.bin
./dump mbr.bin mbr.dump
dump: dump.c
gcc -m32 -g -Wall -o dump dump.c
mbr.bin: mbr.o
$(BUILD)/bin/ld -h -rc 0xC0010000 -o mbr.bin mbr.o
mbr.o: mbr.s
$(BUILD)/bin/as -o mbr.o mbr.s
clean:
rm -f *~ dump mbr.o mbr.bin mbr.dump
Go to most recent revision | Compare with Previous | Blame | View Log