Files
chg-shell/Makefile
2025-04-04 15:37:24 -04:00

17 lines
287 B
Makefile

LIBRARIES = -lreadline
RELEASE_ARGS = -DRELEASEBUILD
SOURCES = ./msh.c
OUTPUT_DIR = ./bin
OUTPUT_BIN = ${OUTPUT_DIR}/PROG
OUTPUT = -o ${OUTPUT_BIN}
build:
RUSTFLAGS='-C target-feature=+crt-static' cargo build
debug:
cargo build
install:
mv ${OUTPUT_BIN:PROG=mash} /usr/sbin/blah