30 lines
413 B
Makefile
30 lines
413 B
Makefile
default:
|
|
just --list
|
|
|
|
|
|
# Build from scratch
|
|
build:
|
|
cargo build --release
|
|
make nms
|
|
|
|
# Build ncurses version
|
|
build_ncurses:
|
|
cargo build --release
|
|
make nms-ncurses
|
|
|
|
build_sneakers:
|
|
cargo build --release
|
|
make sneakers
|
|
|
|
|
|
# Clean all project files
|
|
clean:
|
|
rm -rf obj
|
|
rm -rf bin
|
|
cargo clean
|
|
|
|
|
|
# A sample run of the program
|
|
sample_run *args:
|
|
cat Cargo.toml | ./bin/nms {{args}}
|