URL
https://opencores.org/ocsvn/eco32/eco32/trunk
Subversion Repositories eco32
[/] [eco32/] [tags/] [eco32-0.23/] [simtest/] [disk/] [mkmbr/] [Makefile] - Rev 314
Go to most recent revision | Compare with Previous | Blame | View Log
#
# Makefile for assembling the master boot record
#
BUILD = ../../../build
SFILES = $(wildcard *.s)
OBJFILES = $(patsubst %.s,%.o,$(SFILES))
BINFILES = $(patsubst %.s,%.bin,$(SFILES))
.PHONY: all install clean
.PRECIOUS: $(OBJFILES)
all: $(BINFILES)
install: $(BINFILES)
mkdir -p $(BUILD)/simtest
cp $(BINFILES) $(BUILD)/simtest
%.bin: %.o
$(BUILD)/bin/ld -h -rc 0xC0000000 -o $@ $<
%.o: %.s
$(BUILD)/bin/as -o $@ $<
clean:
rm -f *~ *.bin *.o
Go to most recent revision | Compare with Previous | Blame | View Log