Split out project into serveral projects

This commit is contained in:
2021-01-14 02:44:50 +01:00
parent 59f802bc9f
commit edddc5a690
24 changed files with 7 additions and 2399 deletions

View File

@@ -1,11 +1,15 @@
BUILDDIR=.build
_BIN= rom_monitor.bin ram_monitor.bin cpm22.bin bios.bin putsys.bin loader.bin MONITOR.COM
_BIN= cpm22.bin bios.bin
BIN = $(patsubst %,$(BUILDDIR)/%,$(_BIN))
$(BUILDDIR)/%.bin: src/%.z80
.PHONY: all clean
all: $(BUILDDIR) $(BIN)
$(BUILDDIR)/%.bin: src/%.z80 | $(BUILDDIR)
@zasm -w -i $< -o $@
$(BUILDDIR)/%.COM: src/%.z80
$(BUILDDIR)/%.COM: src/%.z80 | $(BUILDDIR)
@zasm -w -i $< -o $@
$(BUILDDIR):
@@ -13,6 +17,5 @@ $(BUILDDIR):
all: $(BUILDDIR) $(BIN)
.PHONY: clean
clean:
@rm -df $(BUILDDIR)/*.bin $(BUILDDIR)/*.COM $(BUILDDIR)/*.lst .build