zone/Makefile
A.M. Rowsell 94d6f474cd
dev: growing this into the Zone OS project
The scope of this project is growing, mostly for fun. I doubt
I'll ever get to the point where I can actually use it on a real
Z80 system, but who knows. Mostly this is a good way to learn
about vasm and refresh my Z80 assembly knowledge.
2025-12-20 17:58:51 -05:00

28 lines
560 B
Makefile

# SPDX-License-Identifier: MPL-2.0
ASM=vasm_z80_std
LINK=vlink
ASMFLAGS=-Fvobj
LINKFLAGS=-b ihex -T linker.cmd
all: float.hex
float.o: float.asm
$(ASM) $(ASMFLAGS) -o $@ $<
printChar.o: printChar.asm
$(ASM) $(ASMFLAGS) -o $@ $<
vectorTable.o: vectorTable.asm
$(ASM) $(ASMFLAGS) -o $@ $<
zone.o: zone.asm
$(ASM) $(ASMFLAGS) -o $@ $<
float.hex: float.o printChar.o vectorTable.o zone.o linker.cmd
$(LINK) $(LINKFLAGS) -o $@ float.o printChar.o vectorTable.o zone.o
clean:
rm -f float.o printChar.o vectorTable.o zone.o float.hex
.PHONY: all clean