.PHONY: check run test clean help

RUBY ?= ruby

check:
	$(RUBY) -c aip56.rb
	$(RUBY) aip56.rb --check

run:
	$(RUBY) aip56.rb

test: check

clean:
	rm -f .aip56-test.tmp

help:
	@printf '%s\n' \
		'make check  Syntax-check Ruby and validate the canonical wordlist' \
		'make run    Generate one AIP-56 phrase' \
		'make test   Run the validation smoke test' \
		'make clean  Remove temporary local artifacts' \
		'make help   Show these targets'
