Split from cpm repository

This commit is contained in:
2021-01-14 02:46:09 +01:00
commit eeb7a64290
4 changed files with 103 additions and 0 deletions

16
Makefile Normal file
View File

@@ -0,0 +1,16 @@
BUILDDIR=.build
_BIN= loader.bin
BIN = $(patsubst %,$(BUILDDIR)/%,$(_BIN))
.PHONY: all clean
all: $(BUILDDIR) $(BIN)
$(BUILDDIR)/%.bin: src/%.z80 | $(BUILDDIR)
@zasm -w -i $< -o $@
$(BUILDDIR):
@mkdir $(BUILDDIR)
clean:
@rm -df $(BUILDDIR)/*.bin $(BUILDDIR)/*.lst .build