16 lines
292 B
Makefile
16 lines
292 B
Makefile
LIBRARIES = -lreadline
|
|
RELEASE_ARGS = -DRELEASEBUILD
|
|
SOURCES = ./msh.c
|
|
OUTPUT_DIR = ./zig-out/bin
|
|
OUTPUT_BIN = ${OUTPUT_DIR}/PROG
|
|
OUTPUT = -o ${OUTPUT_BIN}
|
|
|
|
build: output_dir
|
|
zig build install --release=fast
|
|
|
|
debug: output_dir
|
|
zig build
|
|
|
|
install:
|
|
mv ${OUTPUT_BIN:PROG=mash} /usr/sbin/blah
|