This repository has been archived on 2020-09-21. You can view files and clone it, but cannot push or open issues or pull requests.
fib/Makefile
2020-09-21 02:57:24 +02:00

16 lines
257 B
Makefile

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