adding command looping and bypass command

This commit is contained in:
PinStraw
2025-04-04 15:37:24 -04:00
parent 5f95c95370
commit 5a557e63c2
2 changed files with 78 additions and 33 deletions

16
Makefile Normal file
View File

@@ -0,0 +1,16 @@
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