diff options
| author | la-ninpre <aaoth@aaoth.xyz> | 2023-08-28 13:24:57 +0300 |
|---|---|---|
| committer | la-ninpre <aaoth@aaoth.xyz> | 2023-08-28 13:24:57 +0300 |
| commit | 7b771aace72d9c78339e925f047af923e1ede7d3 (patch) | |
| tree | 8b51ae3b6495e650f28ba30df7a4a05eaf935890 | |
| parent | 3190ad25cb167f8289b7d10957a37283cd1efc2a (diff) | |
| download | tictactoe-7b771aace72d9c78339e925f047af923e1ede7d3.tar.gz tictactoe-7b771aace72d9c78339e925f047af923e1ede7d3.zip | |
remove makefile and update readme
| -rw-r--r-- | Makefile | 31 | ||||
| -rw-r--r-- | README.md | 18 |
2 files changed, 9 insertions, 40 deletions
diff --git a/Makefile b/Makefile deleted file mode 100644 index a32c132..0000000 --- a/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -SRC = tictactoe.tal - -PROG = $(SRC:.tal=.rom) - -CLEANFILES = $(PROG) - -UXNASM = uxncli ~/roms/asma.rom -# UXNASM = uxncli ~/roms/drifblim.rom -# UXNASM = uxnasm - -UXNEMU = uxnemu -# UXNEMU = uxn11 - -all: $(PROG) - -.tal.rom: - $(UXNASM) $< $@ - -$(PROG): $(SRC) - -run: $(PROG) - $(UXNEMU) $< - -lint: $(SRC) - uxncli ~/roms/uxnlin.rom $< - -clean: - rm -f $(CLEANFILES) - -.PHONY: all run clean -.SUFFIXES: .tal .rom @@ -2,18 +2,18 @@ simple little game that took me far longer than i thought it would. -## installation - -there is a makefile for convenience (you need make, uxncli, uxnemu and -drifblim.rom). but you can just assemble `tictactoe.tal` in any way you want. +- linted with [uxnlin](https://git.sr.ht/~rabbits/uxnlin) +- balanced with [uxnbal](https://git.sr.ht/~rabbits/uxnbal) +- formatted with [uxnfor](https://git.sr.ht/~rabbits/uxnfor) -this command: +## installation -``` -$ make run -``` +you need uxn assembler and emulator. for example, check out [uxn-sdl][1] +(which also contains uxnasm, the assembler) and [drifblim][2] +(the self-hosted assembler). -will assemble the game using `~/roms/drifblim.rom` and will run it in uxnemu. +[1]:https://git.sr.ht/~rabbits/uxn +[2]:https://git.sr.ht/~rabbits/drifblim ## controls |
