NAME := transfer_more PREFIX := /usr/local all: deps_opt build run: crystal run src/transfer_more.cr build: crystal build src/transfer_more.cr --stats --warnings all -o $(NAME) release: crystal build src/transfer_more.cr --stats --release --warnings all -o $(NAME) test: crystal spec deps: shards install deps_update: shards update deps_opt: @[ -d lib/ ] || make deps doc: crystal docs install: mkdir -p $(PREFIX)/transfer-more cp $(NAME) $(PREFIX)/transfer-more/ cp -r public $(PREFIX)/transfer-more/ .PHONY: all run build release test deps deps_update doc install uninstall