.DEFAULT_GOAL := build .PHONY: build build: cargo build .PHONY: install install: cargo build --release sudo install -Dm0755 target/x86_64-unknown-linux-gnu/release/ncore \ /usr/local/bin .PHONY: README.md README.md: cargo readme > $@ echo "" >> $@ echo "## Usage" >> $@ echo "" >> $@ echo '```' >> $@ cargo run -- --help >> $@ echo '```' >> $@