Added vimlocal, replaced build.sh with Makefile and updated upload.sh
This commit is contained in:
15
Makefile
Normal file
15
Makefile
Normal 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
|
||||
Reference in New Issue
Block a user