diff options
| -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 |
