Added vimlocal, replaced build.sh with Makefile and updated upload.sh

This commit is contained in:
2020-09-20 20:45:20 +02:00
parent bdbdc3a7de
commit 6dc11ba681
4 changed files with 17 additions and 6 deletions

15
Makefile Normal file
View File

@@ -0,0 +1,15 @@
BUILDDIR=.build
all: $(BUILDDIR) $(BUILDDIR)/XED.COM
$(BUILDDIR)/XED.COM: src/crt0.z80 src/* include/* lib/*
@zasm $< -y -o $@ -L lib -I ../tools/sdcc-code/sdcc/device/include
$(BUILDDIR):
@mkdir $(BUILDDIR)
.PHONE: clean
clean:
@rm -rf $(BUILDDIR)/s
@rm -df $(BUILDDIR)/*.COM $(BUILDDIR)/*.lst .build