Skip to content

Commit

Permalink
docs: adding makefile and clarify license
Browse files Browse the repository at this point in the history
  • Loading branch information
remy committed May 17, 2021
1 parent ee83f43 commit 61c4d31
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
15 changes: 15 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
SJASMPLUS = sjasmplus
SJASMPLUSFLAGS = --nologo
INCLUDE_FILES = $(wildcard src/*.asm)

# try to assemble the "runtime" file as standalone file (as if included elsewhere)
# then create the binary of the dot command
HTTP: src/main.asm $(INCLUDE_FILES) Makefile
$(SJASMPLUS) --zxnext $(SJASMPLUSFLAGS) src/main.asm

.PHONY: all clean

all: HTTP

clean:
$(RM) -f HTTP src/*.labels src/*.sld
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,9 @@ Then include the `http-debug.bin` that was saved on your Next to help debug the
- Uses [sjasmplus](https://z00m128.github.io/sjasmplus/documentation.html) from VS Code task
- Follows this [code convention](https://github.com/remy/z80-code-conventions)
- Entry point is main.asm
- Optional `Makefile` has been included

## License
## License for .HTTP

It's in the license link, but all the same:

Expand Down

0 comments on commit 61c4d31

Please # to comment.