forked from Spencer/chg-shell
adding command looping and bypass command
This commit is contained in:
16
Makefile
Normal file
16
Makefile
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user