Add target for prg files to Makefile.
This commit is contained in:
parent
f20b4d1be7
commit
a574c97209
8
Makefile
8
Makefile
@ -11,6 +11,14 @@ $(OUTDIR)/main.bin: main.asm
|
||||
$(QUIET) mkdir -p $(OUTDIR)
|
||||
$(QUIET) zcc +z80 -subtype=none -o $(OUTDIR)/main.bin main.asm
|
||||
|
||||
.PHONY: prg
|
||||
prg: $(OUTDIR)/main.bin.prg
|
||||
|
||||
$(OUTDIR)/%.bin.prg: $(OUTDIR)/%.bin
|
||||
$(ECHO) ' PRG'
|
||||
$(QUIET) echo -n -e '\x00\x10' > "$@"
|
||||
$(QUIET) cat "$<" >> "$@"
|
||||
|
||||
.PHONY: send
|
||||
send: $(OUTDIR)/main.bin.pkt
|
||||
$(ECHO) ' SEND'
|
||||
|
Loading…
Reference in New Issue
Block a user