forked from Spencer/chg-shell
17 lines
287 B
Makefile
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
|
|
|