X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=zxkeybtest;a=blobdiff_plain;f=Makefile;h=eefd9a0283a13d2ab6f385d78d7a95e9da1365c7;hp=e0e5c425f501cb1af35c00afc5770325cc244e99;hb=HEAD;hpb=d89b346924d2b704704a30fa0ac9bf9046f2eaa0 diff --git a/Makefile b/Makefile index e0e5c42..eefd9a0 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -name = testrom +name = zxkeybtest src = $(wildcard *.asm) obj = $(src:.asm=.o) bin = $(name).bin @@ -10,6 +10,9 @@ ASFLAGS = -Fvobj LD = vlink LDFLAGS = -b rawbin1 +.PHONY: all +all: tap rom + .PHONY: tap tap: $(tap) @@ -26,11 +29,13 @@ $(tap): $(bin) appmake +zx -o $@ --org 28000 --blockname $(name) -b $< %.o: %.asm - $(AS) -o $@ $(ASFLAGS) $< >/dev/null + $(AS) -o $@ $(ASFLAGS) -L $*.lst $< >/dev/null + +zxkeybtest.o: zxkeybtest.asm glyphs.inc logo.inc .PHONY: clean clean: - rm -f $(bin) $(rom) $(tap) $(obj) + rm -f $(bin) $(rom) $(tap) $(obj) $(obj:.o=.lst) .PHONY: run run: $(tap) @@ -38,4 +43,4 @@ run: $(tap) .PHONY: program program: $(rom) - minipro -p 'AT28C16 @DIP24' -s -w $< + minipro -p 'AT28C16E @DIP24' -s -w $<