dev: started to add OS functions
This commit is contained in:
parent
53a9c6c91d
commit
fc244f8481
4 changed files with 1607 additions and 1474 deletions
8
Makefile
8
Makefile
|
|
@ -6,9 +6,12 @@ MAP=zone.map
|
|||
|
||||
ASMFLAGS=-Fvobj
|
||||
LINKFLAGS=-b ihex -T linker.cmd -M
|
||||
BINLINKFLAGS=-b rawbin -T linker.cmd -M
|
||||
|
||||
all: zone.hex
|
||||
|
||||
binary: zone.bin
|
||||
|
||||
float.o: float.asm
|
||||
$(ASM) $(ASMFLAGS) -o $@ $<
|
||||
|
||||
|
|
@ -24,7 +27,10 @@ boot.o: boot.asm
|
|||
zone.hex: float.o vectorTable.o zone.o boot.o linker.cmd
|
||||
$(LINK) $(LINKFLAGS) -o $@ float.o vectorTable.o zone.o boot.o > $(MAP)
|
||||
|
||||
zone.bin: float.o vectorTable.o zone.o boot.o linker.cmd
|
||||
$(LINK) $(BINLINKFLAGS) -o $@ float.o vectorTable.o zone.o boot.o > $(MAP)
|
||||
|
||||
clean:
|
||||
rm -f float.o vectorTable.o zone.o boot.o zone.hex $(MAP)
|
||||
rm -f float.o vectorTable.o zone.o boot.o zone.hex zone.bin $(MAP)
|
||||
|
||||
.PHONY: all clean
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue